フォーラム

ホーム » Liferay Faces » Liferay Faces - English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
German Tugores
how to embed youtube videos in portlet JSF + Icefaces 3
2012/04/20 15:12
答え

German Tugores

ランク: Junior Member

投稿: 33

参加年月日: 2012/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
David H Nebinger
RE: how to embed youtube videos in portlet JSF + Icefaces 3
2012/04/20 16:22
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 11319

参加年月日: 2006/09/01

最近の投稿

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
2012/04/21 10:24
答え

German Tugores

ランク: Junior Member

投稿: 33

参加年月日: 2012/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