コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2969 ビュー

Hi,

I'am editing a course on e-Learning and trying to add a presentation for a course content.

I tried uploading .ppt, .odp, .pdf as presentation type content. I couldn't show the doc. I decided to show the presentation as a webpage. I uploaded to Google Slides. I published the doc. I get my embed code.



It shows the slide on editing screen but when i clicked DONE. It dissappears. 


アバター
破棄
最善の回答

Embed code usually uses an iframe tag, but the 'frame', 'iframe', and similar tags are sanitised for slides in e-Learning module.

Try converting the presentation to a PDF file, images, or to a video.

Or

Use the embed_code field that is already in the slide.slide model eLearning module.

アバター
破棄

How can I do this'Use the embed_code field that is already in the slide.slide model eLearning module.'?

You need to override the "def _compute_embed_code(self)..." method or make the embed_code field normally not computable.