Chathura
Chathura

Reputation: 41

Vimeo embedded video custom controllers ( full sceen and volume control ) not working in media element js

I'm using media element js player for play you-tube and video embedded videos. Both videos are playing and but for vimeo custom controller bar fullscreen and volume control functions not working. Can I have any advice for this!

<video id="player2" width="640" height="360"  >
        <source type="video/vimeo" src="http://vimeo.com/channels/staffpicks/45100844" /> 
</video>

<script>
        $(document).ready(function() {
            $('#player2').mediaelementplayer({
                alwaysShowControls: true,
                success: function (media, node, player) {

                }
            });
        });
</script>

I'm using 'froogaloop2.min.js' for get vimeo controller bar

Upvotes: 1

Views: 1935

Answers (1)

mindlogixtech
mindlogixtech

Reputation: 158

You must use this code

<video id="player2" width="640" height="360"  >
    <source type="video/vimeo" src="http://vimeo.com/45100844" /> 
</video>

including froogaloop2.min.js to show vimeo controller bar.

this works at my end. so it should work at your end, too.

Upvotes: 1

Related Questions