Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ulrich

    (@grapplerulrich)

    Yes, you can use add this code to the child theme functions.php or the sites custom plugin.

    function fp5_autoplay_playlists() {
    ?>
    <script type='text/javascript'>
    (function ($) { // make sure the DOM is ready
    // use .flowplayer-playlist for all playlists and .flowplayer-playlist-2 or #jsplaylist2 for specific videos
    	$(".flowplayer-playlist").one('ready', function (ev, api) {
    		api.resume();
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_filter( 'wp_footer', 'fp5_autoplay_playlists' );

    Unfortunately it will not work without this change: https://github.com/flowplayer/wordpress-flowplayer/commit/c084209cc413d6dd354ef4aa81395582c1ca6689

    Thread Starter letter10

    (@letter10)

    This did not work for us…any other options?

    Plugin Author Ulrich

    (@grapplerulrich)

    It should work now, I made a change in the code on your site which will be part of the next update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘playlist autoplay’ is closed to new replies.