Announcement

Collapse
No announcement yet.

VLC load ready indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VLC load ready indicator

    Hi
    Is there a way to know if the clip is loaded and ready to play? There is the play on load, but I am looking to animate it in once the clip is ready to play then use the PUSHBUTTON Play to start clip.
    Also is there anyway to know what the duration of the clip is so an out animation can be triggered?
    When it is playing the clip is is playing from a local file transferred by VizSocial or is it streaming a link from the web?
    Thanks
    Dale

  • #2
    Tihs viz command can give you the duration for setting duration for your director;
    (yourcontainer)*FUNCTION*VLC*clipDuration GET

    To make sure you use the cached version, pass the "link cache" where type="video/*" contents of the XML to a controlobject, with the vizsocial cache directory as prefix, then it will show the cached copy. When a post is approved or added to any group, Vizsocial server starts downloading the file to the cache, and when the download is done, the cache path is valid and ready for playout.

    Code:
      <link cache="d48282c1-21e1-4907-b315-e5e717a65f22\719d1342d1817b405d72928069e6222f_18c96d62e3bfd68bd0b0bc701122e3dd" rel="enclosure" type="image/jpeg" href="https://fbcdn-vthumb-a.akamaihd.net/hvthumb-ak-xpa1/v/t15.0-10/10292198_293384857522055_293384797522061_38932_1929_t.jpg?oh=a319b4dd0039d888596b9c2bd5e56442&oe=54C4A874&__gda__=1425074277_2777ae09f301fceb187ba1dd3fcbc2f8" />
            <link cache="d48282c1-21e1-4907-b315-e5e717a65f22\719d1342d1817b405d72928069e6222f_5ccb88f4bad700399d777b4f90a54268" rel="enclosure" type="video/*" href="https://scontent-a.xx.fbcdn.net/hvideo-xap1/v/t42.1790-2/10478902_293384834188724_1916835317_n.mp4?oh=2aef9a81d247568a74049134e7a9058c&oe=543E8B98" />

    Comment

    Working...
    X