Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix videos in tutorial panel
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 9, 2016
1 parent b01da19 commit 11bdbfc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/plugins/access.ajxp_home/manifest.xml
Expand Up @@ -124,7 +124,8 @@
var t = Event.findElement(e, 'div.tutorial_load_button');
try{
var main = t.up('div.tutorial_legend');
main.next('iframe').src = main.readAttribute('data-videoSrc');
main.next('img').remove();
main.insert({after:new Element('iframe', {class:'tutorial_video',src:main.readAttribute('data-videoSrc')})});
}catch(e){}
});
var configs = ajaxplorer.getPluginConfigs('access.ajxp_home');
Expand Down Expand Up @@ -179,7 +180,7 @@
<img class="tutorial_video" src="https://img.youtube.com/vi/ot2Nq-RAnYE/0.jpg">
<div style="clear:left; text-align:center;">
<a href="http://pyd.io/end-user-tutorials/" target="_blank" style="text-align: center;font-size: 25px;background-color: #e35d52;padding: 10px;border-radius: 5px;color: white;display: inline-block;margin: 40px 0;"><i class="icon-youtube-play"></i> AJXP_MESSAGE[user_home.65]</a></div>
<a href="https://www.youtube.com/channel/UCNEMnabbk64csjA_qolXvPA" target="_blank" style="text-align: center;font-size: 25px;background-color: #e35d52;padding: 10px;border-radius: 5px;color: white;display: inline-block;margin: 40px 0;"><i class="icon-youtube-play"></i> AJXP_MESSAGE[user_home.65]</a></div>
</div>
]]></clientForm>
</processing>
Expand Down

0 comments on commit 11bdbfc

Please sign in to comment.