WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Table Reloaded] Audio Video Not Showing in WordPress

[Plugin: WP-Table Reloaded] Audio Video Not Showing in WordPress

  • I am adding audio and video code to tables. The audios and videos seemed to play for awhile. Now, they show up and play in Firefox, but not IE or Chrome.
    Example of code I’m pasting into a table cell: <script type=”text/javascript”>
    var playerhost = ((“https:” == document.location.protocol) ? “https://audio.mp3.s3.amazonaws.com/ezs3js/secure/” : “http://audio.mp3.s3.amazonaws.com/ezs3js/player/”);
    document.write(unescape(“%3Cscript src='” + playerhost + “mp3/AAE9581E-FB97-BDE4-87D558974EE3CF7E.js’ type=’text/javascript’%3E%3C/script%3E”));
    </script>

    the webpage is: http://www.preparemd.com/supplement-groupings-2/heart-arthritis/garlic-heart-attacks/

    I spent a lot of time trying to understand how WordPress handles video and audio. Is this a WordPress issue? Won’t handle audio or video off of a private server? By using WP-table reloaded I was hoping that the code would not revert to unplayable – somehow hoping being “embedded” in the table would protect the video/audio from being stripped and thus not playing.

    Many thanks for your wonderful plugin.

    Mark

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi,

    no, it’s not a WordPress issue, but more a “thing you need to know” about WP-Table Reloaded: When entering any code, like HTML and so on, you can not use linebreaks in it, because those will cause trouble later on as they are automatically transformed into a HTML <br> tag.

    So, instead, put in the code in one line.
    This means, instead of

    <script type="text/javascript">
    var playerhost = (("https:" == document.location.protocol) ? "https://audio.mp3.s3.amazonaws.com/ezs3js/secure/" : "http://audio.mp3.s3.amazonaws.com/ezs3js/player/");
    document.write(unescape("%3Cscript src='" + playerhost + "mp3/AAE9581E-FB97-BDE4-87D558974EE3CF7E.js' type='text/javascript'%3E%3C/script%3E"));
    </script>

    use

    <script type="text/javascript">var playerhost = (("https:" == document.location.protocol) ? "https://audio.mp3.s3.amazonaws.com/ezs3js/secure/" : "http://audio.mp3.s3.amazonaws.com/ezs3js/player/"); document.write(unescape("%3Cscript src='" + playerhost + "mp3/AAE9581E-FB97-BDE4-87D558974EE3CF7E.js' type='text/javascript'%3E%3/script%3E"));</script>

    Do you know what I mean?

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Audio Video Not Showing in WordPress’ is closed to new replies.