Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
German Tugores
how to embed youtube videos in portlet JSF + Icefaces 3
20. April 2012 15:12
Antwort

German Tugores

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 1. März 2012

Neue 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
David H Nebinger
RE: how to embed youtube videos in portlet JSF + Icefaces 3
20. April 2012 16:22
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 13216

Eintrittsdatum: 1. September 2006

Neue 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:

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
21. April 2012 10:24
Antwort

German Tugores

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 1. März 2012

Neue 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 emoticon

Germán

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!