-
-
Save jsieber/378ea452e3a570f98ef946a69f33242f to your computer and use it in GitHub Desktop.
Revisions
-
stevewithington revised this gist
Jul 20, 2016 . 2 changed files with 19 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <div class="mura-layout-row"> <div class="mura-control-group"> <label class="mura-control-label">YouTube URL</label> <input type="text" name="youtubeurl" class="objectParam" value="#esapiEncode('html_attr',objectParams.youtubeurl)#"/> </div> </div> </cfoutput> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,18 @@ <cfsilent> <cfparam name="objectParams.youtubeurl" default=""> </cfsilent> <cfoutput> <p>Hello from the YouTube display object.</p> <div class="youtube-wrapper"> <iframe id="ytplayer" type="text/html" width="640" height="390" src="https://www.youtube.com/embed/#ListLast(objectParams.youtubeurl, '=')#" frameborder="0"></iframe> </div> <p><a href="#objectParams.youtubeurl#" target="_blank">Watch on YouTube</a></p> <!--- <cfdump var="#objectParams#"> ---> </cfoutput> -
stevewithington created this gist
Jul 20, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ <displayobject name="YouTube Video" contenttypes="*"/> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ <cfsilent> <cfparam name="objectParams.youtubeurl" default=""> </cfsilent> <cf_objectconfigurator> <cfoutput> <div class="mura-layout-row"> <div class="mura-control-group"> <label class="mura-control-label">YouTube URL</label> <input type="text" name="text" class="objectParam" value="#esapiEncode('html_attr',objectParams.youtubeurl)#"/> </div> </div> </cfoutput> </cf_objectconfigurator> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Hello from YouTube Video.