掲示板

how to embed youtube videos in portlet JSF + Icefaces 3

12年前 に German Tugores によって更新されました。

how to embed youtube videos in portlet JSF + Icefaces 3

Junior Member 投稿: 33 参加年月日: 12/03/01 最新の投稿
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
12年前 に David H Nebinger によって更新されました。

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

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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?
12年前 に German Tugores によって更新されました。

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

Junior Member 投稿: 33 参加年月日: 12/03/01 最新の投稿
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