Skip to content

Commit

Permalink
Fix apple support for some videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurvideo committed Nov 15, 2009
1 parent 77ac5d7 commit 084fdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlashVideo/Site/Apple.pm
Expand Up @@ -30,7 +30,7 @@ sub handle_mov {
# I'm an iPhone (not a PC)
$browser->agent("Apple iPhone OS v2.0.1 CoreMedia v1.0.0.5B108");

if($browser->content =~ /url\s*\0+[\1-!]*(.*?)\0/) {
if($browser->content =~ /url\s*\0+[\1-,]*(.*?)\0/) {
return URI->new_abs($1, $browser->uri)
} else {
die "Cannot find link in .mov";
Expand Down

0 comments on commit 084fdb6

Please sign in to comment.