Strange behaviour when creating PL code behind

3 posts, 0 answers
  1. Arnaud
    Arnaud avatar
    7 posts
    Member since:
    Feb 2015

    Posted 09 Mar 2015 Link to this post


    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
    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 : ""
  2. Radoslav
    Radoslav avatar
    1566 posts

    Posted 11 Mar 2015 Link to this post

    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.


    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.

  3. Arnaud
    Arnaud avatar
    7 posts
    Member since:
    Feb 2015

    Posted 12 Mar 2015 in reply to Radoslav Link to this post


    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.
Back to Top