it depends what version you have
in my case i use version 1.8 and took me a long time to get iphone working (html5 jwplayer and a lot of changes to some code )
from the code i read , does it says ipad only
i do not know exactly how flowplayer works , but does it not need to look like this ??
Code: Select all
my $code = <<BLOCK
flowplayer('player', '$c->{site_url}/flowplayer-3.2.14.swf', {
clip: {
autoPlay: false,
},
playlist: [
'$file->{direct_link}',
],
}).ipad();
BLOCK
;
$code = &encodeJS($code);
$file->{flv}=1;
$file->{video_code} = <<BLOCK
<script type='text/javascript' src='$c->{site_url}/flowplayer-3.2.11.min.js'></script>
<script type='text/javascript' src='$c->{site_url}/flowplayer.ipad-3.2.11.min.js'></script>
<a href='$file->{direct_link}'
style='display:block;width:$c->{m_v_width}px;height:$c->{m_v_height}px'
id='player'>
</a>
$code
<br>
BLOCK
;
because the simple reason why it does not work on pc is because the file is missing ...
here is the ipad example of flowplayer from there site
Code: Select all
<!-- player container-->
<a href="http://pseudo01.hddn.com/vod/demo.flowplayervod/flowplayer-ios.mp4" class="player"
style="display:block;width:425px;height:300px;margin:10px auto"
id="player">
</a>
</div>
<script>
head.js(
"http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js",
"http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js",
"http://releases.flowplayer.org/js/flowplayer-3.2.11.min.js", function(){
head.js("http://releases.flowplayer.org/js/flowplayer.ipad-3.2.11.min.js");
});
head.ready(function() {
$f("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.14.swf").ipad();
});
</script>
ofcourse there are other scripts in it to as it is from there main site (source code)
hopely this can help you
ps: it depends also what version of xfs you have for what code you need to use
Greetings From PowerChaos