WordPress.org

Ready to get started?Download WordPress

Forums

[Theme sidebar] 2nd video plays intermittent (1 post)

  1. vmattaur
    Member
    Posted 4 months ago #

    I've started with a Blank-Theme. I created the sidebar using static video content.

    Results:
    1. Both video's play in Safari and Opera
    2. Chrome - top video plays, bottom video loads blackscreen but sounds works
    3. IE - top video plays, bottom video displays ERROR
    4. FireFox - no videos play

    URL:
    Harmarassoc.com

    sidebar.php code:
    <table>
    <td style="width:100px">

    <aside>
    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Widgets')) : else : ?>
    <!-- All this stuff in here only shows up if you DON'T have any widgets active in this zone -->

    <nav>
    <?php wp_nav_menu(array('menu' => 'Main Nav Menu')); ?>
    </nav>

    <div class="widget industry-news">

    <h4>Industry News</h4>

    <p class="date">March 3, 2014<h5>Salt in NJ's Tap Water!</h5>United Water says sodium levels in drinking water rise every winter, but because there has been so much snow this year, sodium levels are 3 to 4 times higher than usual. An 8-ounce glass of water has about 28 milligrams of sodium, about the same as 8 ounces of diet soda. Water treatment facilities and home filters cannot remove sodium from water.</p>

    <video controls height="125" width="195">
    <source src="../../../wp-content/themes/water/movies/Salt.mp4" type="video/mp4" />
    <source src="../../../wp-content/themes/water/movies/Salt.WebM" type="video/WebM" />
    <source src="../../../wp-content/themes/water/movies/Salt.avi" type="video/avi" />
    <source src="../../../wp-content/themes/water/movies/Salt.m4v" type="video/m4v" />
    <source src="../../../wp-content/themes/water/movies/Salt.mov" type="video/mov" />
    <source src="../../../wp-content/themes/water/movies/Salt.wmv" type="video/wmv" />
    </video>

    </div> <!-- END Industry News -->

    <div class="widget industry-news">
    <p class="date">April 2, 2012<h5>Dr. Oz talks about family drinking water!</h5>This video doesn't endorse any particular water filtration system but more importantly talks about why it is important to filter you home drinking water.</p>

    <video controls height="140" width="195">
    <source src="../../../wp-content/themes/water/movies/OzWater.mp4" type="video/mp4" />
    <source src="../../../wp-content/themes/water/movies/OzWater.WebM" type="video/WebM" />
    <source src="../../../wp-content/themes/water/movies/OzWater.avi" type="video/avi" />
    <source src="../../../wp-content/themes/water/movies/OzWater.m4v" type="video/m4v" />
    <source src="../../../wp-content/themes/water/movies/OzWater.mov" type="video/mov" />
    <source src="../../../wp-content/themes/water/movies/OzWater.wmv" type="video/wmv" />
    </video>

    </div> <!-- END Industry News -->
    <?php endif; ?>

    </aside>
    </td>
    </table>

Reply

You must log in to post.

About this Topic