Combination View Flat View Tree View
Threads [ Previous | Next ]
German Tugores
how to embed youtube videos in portlet JSF + Icefaces 3
April 20, 2012 3:12 PM
Answer

German Tugores

Rank: Junior Member

Posts: 33

Join Date: March 1, 2012

Recent Posts

Hello community,

I'm trying to embed youtube urls to display the videos in a portlet using JSF with Icefaces but so far haven't been able to find a working solution for this. I need to display videos from youtube urls, not from a local server. Any suggestions would be appreciated, thanks.

Regards,
Germán
David H Nebinger
RE: how to embed youtube videos in portlet JSF + Icefaces 3
April 20, 2012 4:22 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6130

Join Date: September 1, 2006

Recent Posts

So you can't just put the <embed /> tag directly into the page?

For the scuba diving cat, clicking on the 'embed' button gives you this:

1<iframe width="420" height="315" src="http://www.youtube.com/embed/bScOj4e0bOQ" frameborder="0" allowfullscreen></iframe>


There's no magic here, you just drop it on your page and it renders.

Or am I not getting what you're trying to accomplish?
German Tugores
RE: how to embed youtube videos in portlet JSF + Icefaces 3
April 21, 2012 10:24 AM
Answer

German Tugores

Rank: Junior Member

Posts: 33

Join Date: March 1, 2012

Recent Posts

Hi David,

Thank you, you are right the problem was I wasn't putting the "/embed" as part of the path to the youtube url on the src.. it's working fine now emoticon

Germán