• Resolved hypothesard

    (@hypothesard)


    [Plugin: VideoJS – HTML5 Video Player for WordPress] Flow Player Posterframe (Flash Player) not dynamicly set

    [darn character limit of the Post Title}

    Testing the new version of Video Player for wordpress, I tested Safari, Webkit on iPhone and iPad, and finally most of the problems were solved (on iPad the Posterframe no longer forbid the iPad to load the mp4 video, Yay)

    But then I tested FireFox to see how the Flash player did look (I don’t bother reencoding 19 videos [~10hours] in ogg just for FireFox) and to my surprise the poster frame was set to the demo version.

    After some tinkering (~2hours) I finally solved the thing (I’m not a coder so It’s kind of an exploit for me, Lol)

    Edit the folowing file :
    videojs-html5-video-player-for-wordpress/video-js-wp.php

    and search this line :
    $flow_player_poster = '"http://video-js.zencoder.com/oceans-clip.png", ';

    replace It with this line :
    $flow_player_poster = '"'.$poster.'", ';

    the default poster frame should finally be set to the one specified in the shortcode :

    [video mp4="http://www.YourSite.com/wordpress/wp-content/YourVideoFolder/VideoFile.mp4" poster="http://www.YourSite.com/wordpress/wp-content/YourVideoFolder/PosterFrameOfYourVideoFile.jpg" width="480" height="344" autostart="false" preload="false"]

    Now remains to be solved the preload argument not set for the Flash Player (the MP4 player does respect the preload setting [finally])

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] Flow Player Posterframe (Flash Player) not dyna’ is closed to new replies.