First of all sorry if I missed to write this post in the right thread.. I didn't really see where to include it.
My question concerns the <embed> html tag and more specificaly the possibilty to use a specific player to read video files. I use moodle 2.2.2+.
I have a case where I need the users to be able to change the playback rate (2x,1/2x,1/4x speed) of audio and video they watch through my site. I have done some research and although HTML5's player allows that, it is not portable (officially only works in Chrome... IE seems to work but the page looks awful) and the quality loss when going for lower speeds, 1/2x, is unacceptable. 1/4x speed doesn't work at all for sound.
So my solution around this is to force the use of the VLC plugin which carries those functionalities and reads just about anything. In order to achieve that, I use the embed tag in the following way:
<embed type="application/x-vlc-plugin" name="video1" id="player" autoplay="true" loop="true" target=" " height="300" width="400" />
Although the player is loaded when I open my quiz page, the play button does not launch the video. When I use the console, I can see that the video is loaded in the playlist but neither the autoplay nor the play button will work. The only way I have found to start the video is to launch it manually from the console using:
Does anyone have any idea why it does that ?
Or, does anyone have any other suggestion for me ?
I have heard of the VLC plugin but it was unfortunately only out there for 1.9 and I don't really see the need for a plugin if this can be done using the <embed> tag. Though that is probably where I start being wrong..
Thanks in advance!