[SOLVED] Â Version 9.7 YouTube Video on Dashboard Page |
3/11/2017 3:08:43 PM |
ASPRunner.NET General questions | |
jadach authorDevClub member
I see we can now add code snippets to the dashboard page. Has anyone added a YouTube video? I do not know the syntax to use in the code snippet dialog box. |
|
Pete K 3/14/2017 | |
It appears to be server-side code, so you'd have to echo out the JavaScript or html to embed. I did it using HTML in an iFrame: MVCFunctions.Echo("<iframe width='560' height='315' src='https://www.youtube.com/embed/Kg-Qdrr3XSk'; frameborder='0' allowfullscreen></iframe>"); |
jadach authorDevClub member 3/14/2017 | |
It appears to be server-side code, so you'd have to echo out the JavaScript or html to embed. I did it using HTML in an iFrame: MVCFunctions.Echo("<iframe width='560' height='315' src='https://www.youtube.com/embed/Kg-Qdrr3XSk'; frameborder='0' allowfullscreen></iframe>");
|
Pete K 3/15/2017 | |
I love when I get the answer. Thanks Peter. Works perfectly. PS. I like that song too <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=81654&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
|