Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: XSLT: MediaFile passing to JWPlayer

$
0
0

Hello and Happy New Year!

I have tried to build a XSLT Funktion to play a video using JWPlayer. What I did not got managed is to pass a video file that is stored in C1 Mediaarchive to the player. This is the basic configuration for the player:

<divid="myElement">Loading the player...</div><scripttype="text/javascript">
    jwplayer("myElement").setup({
        file: "/uploads/example.mp4",
        image: "/uploads/example.jpg",
    });</script>

I am sure, there is a way to do but - sorry, did not found it. It would be nice, if you could show me how to do....

Thanks,

Rainer


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>