Custom Embed Tag other than the iFrame

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.

If you want to embed your own player, I suggest you make use of the API.
Query the file, get the path and play it with your own player. This is what
many of our customers are doing.

Hope this helps.

Yep, we have done that as well as a proof of concept. Since our application is internal to our network, the iframe embed and the Razuna links are not usable for public use, but we can leverage the AWS external links for a different video player. We wanted to change the iframe embed tag to actually link to a video player on a public site, and figured it would be beneficial to actually have users in Razuna to get that tag directly showing in Razuna instead of a separate application.