Embedded videos in label not displayed

Re: Embedded videos in label not displayed

by Mary Evans -
Number of replies: 2
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi, 

Regardless of the theme you are using, how did you add the video exactly, as I had no problem using the Classic theme. 

http://visible-expression.co.uk/moodle

However mine is not embedded as such, I just added the URL of the video Inside the Text Editor area of the Label.

If you are embedding it, have you enabled the Embedding option in Admin settings?

Mary

In reply to Mary Evans

Re: Embedded videos in label not displayed

by Patrick Viney -

Hi,

It looks like I'm having the same problem since I've updated my Moodle site to 3.6.

I'm using the theme Roshni.

It looks like it's theme related because everything is fine when i switch to Clean theme for example. Anyway, I've tries to change several CSS rules linked to these embedded elements but with no success.

It looks weird as the players seem to load normally for half a second and then disappear as shown on these screenshots.

UPDATE : Ok it comes from the custom JavaScript of the Roshni theme.

Attachment Roshni36_embededVideoAndAudioIssue.png
In reply to Patrick Viney

Re: Embedded videos in label not displayed

by Patrick Viney -
I feel so stupid! 

Actually, not a Javascript problem. It was a custom CSS rule that I had added.

So don't use this rule!!! :


.mediaplugin.mediaplugin_videojs {
width: 100%;
}

Deleting it fixed my problem.