Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using <p:media> to play and restart YouTube video automatically JSF 2.2  RSS feed

 
Talal Ahmed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSF 2.2 with prime face to display media and information in one screen.
So I would like to play YouTube video automatically without click on button using <p:media>? And then how to restart it again automatically as well?
Can you help me please.





 
Jason Jia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this. Hope it'll work as I never use this before. <f:param name="loop" value="true" />
 
Talal Ahmed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does not work
Thank you very much Jason Jia
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!