Fórum
Stop video after closing popup
Aravinth Kumar, modificado 8 Anos atrás.
Stop video after closing popup
Regular Member Postagens: 152 Data de Entrada: 26/06/13 Postagens Recentes
Hi,
I m bringing document library preview popup in custom portlet.
Its working fine.But when I preview a video.After closing the popup still audio is playing in background.
Can someone guide me to stop it?
Thanks in advance
Regards,
Aravinth
I m bringing document library preview popup in custom portlet.
Its working fine.But when I preview a video.After closing the popup still audio is playing in background.
Can someone guide me to stop it?
Thanks in advance
Regards,
Aravinth
Juan Gonzalez, modificado 8 Anos atrás.
RE: Stop video after closing popup
Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
If you're using Liferay's OOTB video preview, then it's using HTML5 video with flash fallback. If your user's browser is HTML5 compatible, then you can use HTML5 video javascript, please read here:
http://www.w3schools.com/tags/ref_av_dom.asp
http://www.w3schools.com/tags/ref_av_dom.asp
Gautham PJ, modificado 8 Anos atrás.
RE: Stop video after closing popup
New Member Postagens: 4 Data de Entrada: 05/06/13 Postagens Recentes
Hi Aravinth,
Try to pause the video before closing the popup.
There is a pause method in AUI Library, you can check to see if this helps. I've provided the link to the documentation below..
AUI Video Plugin Pause Method
Try to pause the video before closing the popup.
There is a pause method in AUI Library, you can check to see if this helps. I've provided the link to the documentation below..
AUI Video Plugin Pause Method