This is a migrated thread and some comments may be shown as answers.

Strange behaviour when creating PL code behind

2 Answers 40 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Arnaud
Top achievements
Rank 1
Arnaud asked on 09 Mar 2015, 05:12 PM
Hi,

I've just found a code on this forum to create a Playlist code behind.

I did it and it works...but :

I create a 3 videos playlist (one is 1h20m, another is about 2min40 and last one is less than a minute).

When I click first one on the PL, I can see the duration is 1h20
but
if I select the other ones, the duration is NaN:NaN.

By the way, the slider representing duration on the 1h20min video is extremely small (about 20 pixels) and always keeps this width.

Do you have any idea why these behaviors ?

Information : Playlist is created in a loop so each video is constructed the same way. Each video is a Youtube video (we can't use direct Youtube Playlists because of our network restrictions) so I have Paths like : "http://youtu.be/wnglhG7epMA"

2 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 11 Mar 2015, 08:44 AM
Hello Arnaud,

The described issue is very strange and we have not encounter it so far and we are not sure what could be the reason for it. I tried to reproduce it on my side, but to no avail. Could you please post your aspx code with the related code behind file. Thus we will be able to gather more details about your scenario and provide you with more to-the-point answer.
At a meantime could you please verify that you do not have any css style with force the slider to be such small?

Looking forward for your reply.

Regards,
Radoslav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Arnaud
Top achievements
Rank 1
answered on 12 Mar 2015, 02:33 PM
Hi,

Sorry for the delay, I was working on something else. While this time, our network support created us a proxy so now, we can directly plug a Youtube playlist without connection issues.
I didn't resolve the NaN problem but with direct playlist, the problem doesn't exist anymore.
Thank you for all.
Tags
MediaPlayer
Asked by
Arnaud
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Arnaud
Top achievements
Rank 1
Share this question
or