ina-foss / amalia.js

Metadata enriched HTML5 video player
http://ina-foss.github.io/amalia.js
MIT License
196 stars 41 forks source link

Display label along with tcin and tcout? #4

Closed escorciav closed 4 years ago

escorciav commented 4 years ago

Hi!

Thanks for releasing this library. I was wondering if it's possible to display all the attributes of the metadata label, tcin, tcout?

I'm using the latest provided package.

Thanks! Victor

nrv commented 4 years ago

Hi,

It depends on which visualization plugin you want to use

Nicolas

Le 07/04/2020 à 07:17, Victor Escorcia Castillo a écrit :

Hi!

Thanks for releasing this library. I was wondering if it's possible to display all the attributes of the metadata |label|, |tcin|, |tcout|?

I'm using the latest provided package.

Thanks! Victor

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ina-foss/amalia.js/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWHXPQADE7O5TWXZBF3U3RLKZOXANCNFSM4MC2DRLA.

escorciav commented 4 years ago

I'm using the timeline plugin. I want to display a short message on each segment.

Is this possible? I found that if I added the property label into the metadata. It displays my message but it doesn't display the the tc[inout].

nrv commented 4 years ago

I think you'll have to patch the code to have this beahaviour :-)

escorciav commented 4 years ago

Good to know. Do you happen to remember the relevant stuff that I should take a look at it? I mean the names of the "attributes" or "classes" that I should read.

BTW, I'm a rookie in JS. I'm on that stage of StackOverflow, copy-paste, works, debug and move on

nrv commented 4 years ago

I would say https://github.com/ina-foss/amalia.js/blob/master/src/plugins/timeline/cuepoints-component.js around line 124 Good luck