lcslouis
Member
Posted 6 months ago #
ok i have used this code to get video's playing on ip when using the flv container the problem is the poster is not displaying on the ipad here is the code what needs to be changed to make it display the image? and since this give html5 support to flv could you add it to the plugin in future releases?
$content .= 'if ((navigator.userAgent.indexOf(\'iPhone\') != -1) || (navigator.userAgent.indexOf(\'iPod\') != -1) || (navigator.userAgent.indexOf(\'iPad\') != -1)) document.getElementById("'.$objectid.'").innerHTML = \'<video width="'.$embed['width'] .'" height="'.$embed['height'].'" poster="'.preg_replace("/\.[^\.]{3}$/", ".jpg", $embed['flashvars']['file']).'" src="'. $embed['flashvars']['file'].'" controls />\'; else swfobject.embedSWF("' . htmlspecialchars( $embed['url'] ) . '", "' . $objectid . '", "' . $embed['width'] . '", "' . $embed['height'] . '", "9", vvqexpressinstall, ';
http://wordpress.org/extend/plugins/vipers-video-quicktags/
FLV videos are Flash videos. Flash doesn't work on the iPad. :)
lcslouis
Member
Posted 6 months ago #
your missing what i'm asking i am not trying to play an flv file on the ipad i am trying to the flv player though the file is a mp4 i am just trying to get it to show the jpg image for when someone clicks to play the video.
because what i am doing i am trying to make the site work no matter what kind of device no matter if it a pc or mobile.
if you look at this link this is what the guy did that made the hack is there anyway you can incorporate it? and make the images/ posters work as well because as long as i load the page on a pc the image shows up but when i load on my ipad it doesn't which means there is an error in the coding.
lcslouis
Member
Posted 6 months ago #
Ah, yes, my plugin doesn't support HTML5 playback currently and development on my plugin is currently on hold due to a lack of time.