Windows Server 2012, MSSQL, AWS Storage, Razuna 1.7
Hello, I have a question regarding adding or changing the iframe embed tag that is generated when clicking on the “embed” link in any rendition.
We feel it may be valuable to either change the location of the embed tag to point to a different video player, or actually display proper HTML5 embed codes based on the asset type (<img…>,etc).
For example, I am able to locate the code that generates the “Embed” link within a rendition tab, example:
dsp_asset_videos_related.cfm
Line 43:<a href="##" onclick="toggleslide('dive#vid_id#','inpute#vid_id#');return false;">#myFusebox.getApplicationData().defaults.trans("embed")#</a>
I guess I am wondering about the code behind the #myFusebox.getApplicationData().defaults.trans(“embed”)#, and how I can add my own return to say perhaps generate something like:
<video width='1280' height='720' controls><source src=myvideopath.mp4' type='video/mp4'>Your browser does not support the video tag.</video>
This would be used as an alternate “embed” code as well as the iframe suggestion. If anyone could shed some light on how to add a new parameter to return a textarea with generated data like the above, that would be great.