This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!