#1  
Old 11th December 2009, 01:07
kapildhingra kapildhingra is offline
Junior Member
 
Join Date: Oct 2009
Posts: 10
Default How to automatically display current video title?

I want that whenever a new video starts in control auto pilot, video title should be automatically displayed to users.

Any solution for this issue?
Reply With Quote
  #2  
Old 11th December 2009, 06:57
prateek_khare prateek_khare is offline
Livestream QA
 
Join Date: Jul 2009
Posts: 1
Smile test

testtesttesttest
Reply With Quote
  #3  
Old 11th December 2009, 15:35
cristiantm cristiantm is offline
Junior Member
 
Join Date: Nov 2009
Location: Florianópolis, SC, Brasil
Posts: 20
Send a message via Skype™ to cristiantm
Default

I would also be interested on this. But as far as I've found out yet, it is not possible.
Reply With Quote
  #4  
Old 2nd January 2010, 06:45
MojoMonkey MojoMonkey is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Cool

Quote:
Originally Posted by kapildhingra View Post
I want that whenever a new video starts in control auto pilot, video title should be automatically displayed to users.

Any solution for this issue?
Ironically the old playerV2.js embed did exactly that... But they retired it for one that doesn't do any of that really cool stuff. If you add /old to the end of your link it will display whats playing when user first tunes in. If you want to display it each time the title changes you will have to do it on your own page using some java coding and the JSplayer.swf to scrape clip details. Don't you wish you didn't have to load old versions of the site to get access to a decent player?
Reply With Quote
  #5  
Old 2nd January 2010, 08:35
kapildhingra kapildhingra is offline
Junior Member
 
Join Date: Oct 2009
Posts: 10
Default

I have old version on my site. But I don't know how to extract details of clip. Could you give me some details how to do?

Thanks!
Reply With Quote
  #6  
Old 4th January 2010, 12:47
MojoMonkey MojoMonkey is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Default

More details here: http://www.livestream.com/userguide/...TML_Developers

Basically you add a function to your javascript and then use setInterval to update a divs inner html. JS example using alert box:

function livestreamPlayerCallback(event) {
if (event == 'ready') {
player.setDevKey('****');
player.setChannel('****');
player.startPlayback();
}
if (event == 'playbackEvent') {
if (getid!=0) {
clearInterval(getid);
}
var getid=setInterval("alertTitle()", 5000);
}
if (event == 'connectionEvent') {
player.startPlayback();
}
if (event == 'disconnectionEvent') {
if (getid!=0) {
clearInterval(getid);
}
}
}
function alertTitle() {
if (player.isOnAir() && player.getCurrentContentTitle() != 'null') {
currentTitle = player.getCurrentContentTitle();
if(player.isLive()) {
livevar = ' is playing LIVE!!!';
} else {
livevar = ' is playing.';
}
alert(currentTitle + livevar);
}
}
Reply With Quote
  #7  
Old 25th December 2011, 19:37
cbraia cbraia is offline
Junior Member
 
Join Date: Dec 2011
Posts: 1
Default Please help in How to automatically display current video title? Reply to Thread

I realy don't understand this... sorry my lack of knowledge.

In where is this js that it will need to update?

Thanks

Cesar
Reply With Quote
  #8  
Old 25th December 2011, 20:03
bmorisoli bmorisoli is offline
Member
 
Join Date: Apr 2009
Posts: 45
Default

When you create the video, insert a graphic overlay with the title at the beginning of the video.
Reply With Quote
Reply

Tags
autopilot, control, title, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump