0

Okay guys so i am trying to set the data like this.

<object width="510" height="315"
   data="<%#Eval("Trailer")%>">
 </object>

and this is the link i am supose to get from the database: https://www.youtube.com/v/aO-1ZBsT224

i have also tried this with the iframe and embed, i can't seem to get it to work unless i do i like this

<object width="510" height="315"
   data="https://www.youtube.com/v/aO-1ZBsT224">
 </object>

but i have a uniq link on every object so i wont work if i do it this way.

Hope you guys can help.

Code_Viking
  • 618
  • 1
  • 8
  • 26
  • I'm not sure I'm following. An HTML5 video player would use the – Dan Goodspeed Feb 15 '15 at 03:09
  • i have also tried that Dan. But for some reason i will not work? now i have gotten it to work with this link. https://www.youtube.com/v/63BJB9bECB0 but for some reason i will not work with these two https://www.youtube.com/v/aO-1ZBsT224 https://www.youtube.com/v/QkkoHAzjnUs – Code_Viking Feb 15 '15 at 03:17
  • only with one of the links? can seem to figure out why. I dont make sense to me. – Code_Viking Feb 15 '15 at 03:25
  • What is the output from <%#Eval("Trailer")%>? – Dan Goodspeed Feb 15 '15 at 03:28
  • the output is the links that i have posted above. That is why i dont understand it wont work – Code_Viking Feb 15 '15 at 03:39

1 Answers1

0

It seems to me you are having issues playing videos one after the other. If so, take a look at this: http://www.mindfiresolutions.com/How-to-play-multiple-videos-in-a-loop-using-HTML5-and-JavaScript-1799.php

While searching for an answer to your question I came across these two issues and one article. Hope they might help you:

Community
  • 1
  • 1
Jaquio
  • 183
  • 1
  • 11