Fórumok

how to embed youtube videos in portlet JSF + Icefaces 3

German Tugores, módosítva 12 év-val korábban

how to embed youtube videos in portlet JSF + Icefaces 3

Junior Member Bejegyzések: 33 Csatlakozás dátuma: 2012.03.01. Legújabb bejegyzések
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
thumbnail
David H Nebinger, módosítva 12 év-val korábban

RE: how to embed youtube videos in portlet JSF + Icefaces 3

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
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:

<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, módosítva 12 év-val korábban

RE: how to embed youtube videos in portlet JSF + Icefaces 3

Junior Member Bejegyzések: 33 Csatlakozás dátuma: 2012.03.01. Legújabb bejegyzések
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