Foren
how to embed youtube videos in portlet JSF + Icefaces 3
German Tugores, geändert vor 12 Jahren.
how to embed youtube videos in portlet JSF + Icefaces 3
Junior Member Beiträge: 33 Beitrittsdatum: 01.03.12 Neueste Beiträge
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
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, geändert vor 12 Jahren.
RE: how to embed youtube videos in portlet JSF + Icefaces 3
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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:
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?
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, geändert vor 12 Jahren.
RE: how to embed youtube videos in portlet JSF + Icefaces 3
Junior Member Beiträge: 33 Beitrittsdatum: 01.03.12 Neueste Beiträge
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
Germán
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
Germán