clowride VIP
Total posts: 1,022
27 Aug 2013 06:50

Since the version 6, JW PLAYER has already all integrated features inside but how can i use with cobalt media field please

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
27 Aug 2013 14:23

Cobalt does not have media field. it only have video and audio where JW player is used.

You can change field templates to add new features to player.


Sackgesicht VIP
Total posts: 1,636
27 Aug 2013 22:09

You mean all jw payer 6 featured ae in template ?

Feature implementation of a field in Cobalt is always in a template.

Whatever is in a field output template (for list or full view or even for the submission form) defines the features of your field.

Example for the JW Player:

If you want to display the position of your Video in seconds from the start in a specific DIV, you can add something like this to your output template:

<div id="time"></div>

<script>

jwplayer().onTime(function() 

{

    var currentPosition = jwplayer().getPosition(); 

    var time = document.getElementById("time");

    if (time) { time.innerHTML = "position: " + currentPosition; }

});

</script>

Sackgesicht VIP
Total posts: 1,636
29 Aug 2013 02:46

Clowride,

If you have the licensed version, i believe you have to replace the files in /media/mint/jwplayer with the licensed version to get rid of the JW logo.

Powered by Cobalt