Hi there,
on our Moodle site we have a prob with our video player.
Normaly we have an old Moodle 7.1 in use with an old jwplayer.
The videos are embedded by a template in the videoeasy filter
(HTML5 tag).
If I open a subsite in our Moodle presence with embedded videos , I
can only see a black rectangle, where I expect to see a generated preview of a
video (m4v - File) also referred to as poster picture. When I click on the black retangled I can
watch the video. A preview is missing.
So I updated to Moodle 7.2 which allowed me to install a new
jwplayer from Moodle.org . But the behaviour of the video does not change.
in "lib/medialib.php" I can do some settings for the video5.
Most of all I can set a value for the preload - attribute
<span class="mediaplugin mediaplugin_html5video">
<video idtag controls="true" $size preload="none" title="$title">
sources
fallback
...
Values for preload can be "none", "metadata" and "auto".
I could see no changes of the video behaviour with all values.
What we want is to let the user see a preview
of all embedded videos without loading the videos entirely in order
not to generate too much traffic. In case of many videos on a site
it may block the site, may cause drag and drop probs ..
When the site is loaded the video is in a tag with a class
"jw-state-idle". Which is what we want. If we deactivate this class
while the site is loading a preview is displayed but it also causes
the loading of the video.
So can anyone get us started in order make some video settings,
that only generates a poster picture without loading the video ?
Do you recommend other players ?
Thanks in advance for your help!
Best,
Benedikt