I'd like to be able to embed a youtube video into a glossary entry. I've done this successfully in moodle lessons by simply switching to html and pasting in the embed code. e.g.
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/c3asSdngzLs&hl=en_GB&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/c3asSdngzLs&hl=en_GB&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
Problem comes when doing this in the glossary. The video previews ok but when the entry is saved, the code is removed.
I've followed all of the advice given to allow embed tags via the admin area but with no luck.
Works fine for me (Moodle 1.9.9).
Did you have to change anything to get this to work? We are using Moodle 1.9.6
Have you tried the other way : switching on the YouTube filter and then making a direct link to the video file (i.e. not using the embed code)?
It works for me but I won't add a screenshot to make you doubly jealous.
No I haven't tried this - but I will tomorrow!
I've tried it with youtube, mpegs and swf files - all ok.
I would like to add video from my file and not from you tube. Pls advise how to do this.
What kind of video file format do you have in mind ? please be more specific.
Put in some text, link to the file and in the HTML version, remove the text. If you want to resize the video add ?d=640x480 to the end of the file link, change the width & height to whatever you'd like them to be.
Put in one blank space, link the space to the file and in the HTML version, don't remove anything. Etc.