Support » Plugin: HTML5 Multimedia Framework for WordPress » [Plugin: HTML5 Multimedia Framework for WordPress] IE not showing poster, issue with encoding

  • Hi,

    My videos are working great in Firefox, its just the posters don’t seem to load in IE.

    When I view source in IE8, the code it looks like this:

    <param name="flashvars" value='controls=true& #38 ;poster=http://www.mysite.com/videos/poster1.jpg& #38 ;file=http://www.mysite.com/videos/video1.mp4' />

    Looks like the encoding is getting confused with the encoding of the ampersand and outputting ‘& #38 ;’ IE doesn’t seem to like this and refuses to load the poster image.

    I am not sure if this is a wordpress related issue?

    Any clues would be appreciated as my videos are just coming up with black boxes.

    http://wordpress.org/extend/plugins/wphtml5player/

Viewing 7 replies - 1 through 7 (of 7 total)
  • written as (& #38 😉 (without the spaces! the forum converts the proper code to just ‘&’!)

    Plugin Author CJ_Jackson

    (@cj_jackson)

    Hello again,

    Try updating to 3.2.9, I added htmlspecialchars() to flashvars, it should return & amp ; rather than & or & #38 ; . I also updated mediaelement.js that as well.

    Cheers,
    Chris.

    Hi Chris,

    Thanks for trying that.

    It seems that the encoding is now fine. But this has not solved the problem of the poster image not showing up in IE.

    Any thoughts?

    Plugin Author CJ_Jackson

    (@cj_jackson)

    Hi ya,

    What the url of the poster image you trying to show? Are you using a dynamic link?

    Cheers,
    Chris.

    Hi Chris,

    I just did some debugging and discovered that I have added a link to jquery in my custom template header:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    If I remove that line, then IE shows the poster image.

    Happy I found the cause. But now I don’t know how to fix the conflict, because I need that link to jQuery for my menus to work.

    Thoughts?

    Plugin Author CJ_Jackson

    (@cj_jackson)

    Hi ya,

    WordPress (as you may figured out) already comes with jQuery, which my plugin calls and is in no conflict mode, which means the wildcard ($) won’t work at all, just replace all of ‘$’ with ‘jQuery’ (it’s case sensitive) in the templates and hopefully that should fix the menu problem.

    Also I would recommend that you add wp_enqueue_script(‘jquery’); on top of header.php before ‘wp_head()’, as the menus are part of your theme, right?

    Cheers,
    Chris.

    Thank you.

    wp_enqueue_script(‘jquery’); before my script and removing my line to jquery did the trick.

    Now videos and menus are playing nicely together 🙂

    I really appreciate your help with it Chris.

    Another donation coming your way!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: HTML5 Multimedia Framework for WordPress] IE not showing poster, issue with encoding’ is closed to new replies.