I am having a problem adding Source Code to an HTML LO as an admin.
No problem when logged-in as Super Admin, but only have problem when logged-in as regular admin.
Here's how the problem shows itself in v4.05:
Inside Course, under teacher area, create an HTML LO.
Click on the "HTML" icon in the icon bar.
Inside the HTML Source Editor, add standard html to link to video on another site; Vimeo, for example:
(<br /><iframe src="https://player.vimeo.com/video/
12345678?title=0&byline=0&portrait=0&autoplay=1" frameborder="0" width="720" height="540"></iframe>)
(the video # has been changed in the html above, but otherwise correct code.)
Click update, click save changes.
As mentioned before, the above scenario works fine when logged-in as a Super Admin, but not as a Normal Admin.
When making the above edit as normal Admin, after you save changes, and go back into edit mode, the code has been erased.
- Looked at all settings under Admin profile, and can't' figure it out?
Is there a way to enable a regular Admin to do the above? (allow linking, etc.)
Please help
What do you recommend?
Problem adding iframe Source Code to HTML Learning Object
Re: Problem adding iframe Source Code to HTML Learning Objec
In administration, under main > configuration > settings > advanced there is an option to "Allow administrator media management in the editor", see if it is checked...
Re: Problem adding iframe Source Code to HTML Learning Objec
Yes, it already had a checkmark. Any other ideas?
thanks.
thanks.
Re: Problem adding iframe Source Code to HTML Learning Objec
The iframe tag is blocked by the html purifier, you will need to modify it in onrder to allow iframes
Re: Problem adding iframe Source Code to HTML Learning Objec
Are you sure about htmlpurifier? I'm able to embed iframes without problems.