I am just a newbie in javascript programming and I am busy setting up a moodle site for my institute.
I found this plugins to match exactly what i was looking to achieve, namely playback HTML5 when possible with a flash backup when it's not.
Hence as i am using quite a lot of videos, and for students confort, I am looking to have the videos automatically displayed in fullscreen mode when the press button is clicked and come back to normal display mode when leaving the video.
I have found a discussion on that same question here:
If it could be feasible, at least to toggle to fullscreen, A believe a new parameter could quite easily be added in videofile plugin parameters to ask for automatic fullscreen playback for the video ressource being configured in moodle.
Hi,
I am just a newbie in javascript programming and I am busy setting up a moodle site for my institute. I found this plugins to match exactly what i was looking to achieve, namely playback HTML5 when possible with a flash backup when it's not. Hence as i am using quite a lot of videos, and for students confort, I am looking to have the videos automatically displayed in fullscreen mode when the press button is clicked and come back to normal display mode when leaving the video.
I have found a discussion on that same question here:
http://stackoverflow.com/questions/17143720/video-js-enter-fullscreen-on-play
As far as I got it the point would be to use the methods: requestFullScreen and cancelFullScreen
On a click or touch event defined on the play button.
Because it seems video.js code is minified, the method requestFullScreen can be called as player1.Pa().
But apparently some fixed took place in the meantime in video.js see here:
If it could be feasible, at least to toggle to fullscreen, A believe a new parameter could quite easily be added in videofile plugin parameters to ask for automatic fullscreen playback for the video ressource being configured in moodle.
Any suggestion on this ?
Jean-Luc BOURGOGNE