Foren

Vidéos Webcontent liferay 6.2

mickael bruna, geändert vor 8 Jahren.

Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Bonjour,

je suis sous liferay 6.2 EE et je souhaitais ajouter une vidéo dans une contribution classique. J'ai pu voir sur certains sites qu'il y avait un bouton permettant de la faire.
Seulement, dans mon Liferay, je n'ai qu'un seul bouton avec l'icone "Flash" et je n'ai rien à coté alors que je devrais avoir un bouton en forme de clap de cinéma.
Dois-je activer une option pour l'avoir?

De plus, lorsque je souhaites ajouter une vidéo par le bouton "flash", je vois bien dans la prévisualisation qu'un lecteur vidéo flash est positionné mais lorsque je clique sur publier, la contribution est vide. Et lorsque je reviens en modification, il n'y a plus rien.

Est ce que quelqu'un a déjà utilisé cette partie?

Merci d'avance,
Mickael
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Information complémentaire : lorsque je passe par flash, au moment de l'ajout de la vidéo dans la publication, un message m'indique "un plugin est necessaire pour une partie du contenu". Je pense que ca doit correspondre au pluggin flash du navigateur.

Cependant, j'aimerais bien avoir l'icone vidéo. emoticon

Merci
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
You have to enable Xuggler in Control Panel -> Server Administration -> external services in order to have those buttons in CKEditor toolbar.

You only will be able to add those videos that were previously added and their video previews generated (depending on video size that can need time).
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Ok, merci. Ca fonctionne. J'ai bien le bouton video.

En revanche, lorsque j'essaye d'ajouter une video de la bibliothèque documentaire, cela ne fonctionne pas. Lorsque je clique sur parcourir puis sur la video (mp4, flv, j'en ai mis plusieurs pour essayer), rien ne se passe.

Est ce qu'il y a des propriétés à changer pour indiquer des formats vidéos valide, des tailles de fichiers...?

Mes vidéos sont en mp4 ou flv et font 1mo.

Merci
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
You have to wait for video previews to be generated after uploading them. Then you will be able to choose them from CKEditor toolbar.
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Bonjour,

mon problème est que je ne peux pas cliquer sur la vidéo. Rien ne se passe. Elle est bien dans ma bibliothèque de document mais je ne peux pas l'utiliser dans l'éditeur CKeditor.

Merci
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
English please emoticon
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Hy,
I can't click to video file in CKeditor for use it in a web content, it's not work. They are no error message, only nothing doing.
But this video file is in the document and librairy in liferay.

thanks
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
mickael bruna:
Hy,
I can't click to video file in CKeditor for use it in a web content, it's not work. They are no error message, only nothing doing.
But this video file is in the document and librairy in liferay.

thanks


Ok so what is your problem between these two?:

* The video icon doesn't show in CKEditor toolbar.
* You click on video icon in CKEditor toolbar, but then, in popup, there is no video file to choose.

Thanks.
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
No, i have the video icon in CKeditor and i see the video in popup when I click to the video icon.

But when i click on the video name, there is no action. Nothing.
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
mickael bruna:
No, i have the video icon in CKeditor and i see the video in popup when I click to the video icon.

But when i click on the video name, there is no action. Nothing.


Was the video preview created? (go to Documents & Media and click on that video, check if video can be played in browser from video details).

Any javascript error when click in video name?
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
Yes, i have this javascript error.
thumbnail
Aravinth Kumar, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Regular Member Beiträge: 152 Beitrittsdatum: 26.06.13 Neueste Beiträge
Hi,
Is this happening only for the video?

Are you able to select image or someother file?

Have you overridden any liferay source code using hooks?
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
I don't see another file. Just video. It's normaly because the funcitonality is for add video.
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi mickael,

can you post your portal-ext.properties?

What are the file names? (I can't see if they have an underscore or they have blank space in their names).

Additionally from that, can you change your language to English and try to add them in a web content again?
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
I have an other error in my eclipse console :

[com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable@2510bb7]09:12:14,805 ERROR [main][xuggler:82] Error: inputChannels > 2; unsupported (../../../../../../../csrc/com/xuggle/xuggler/AudioResampler.cpp:151)
09:12:14,842 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:573] java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Audio resampling is not supported
java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Audio resampling is not supported
at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:502)
at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:476)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:529)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:559)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:455)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:110)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:36)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.generate(VideoProcessorMessageListener.java:32)
at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:65)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Audio resampling is not supported
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:652)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:1)
at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:192)
Caused by: java.lang.RuntimeException: Audio resampling is not supported
at com.liferay.portlet.documentlibrary.util.LiferayConverter.createIAudioResampler(LiferayConverter.java:151)
at com.liferay.portlet.documentlibrary.util.LiferayConverter.prepareAudio(LiferayConverter.java:723)
at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.doConvert(LiferayVideoConverter.java:159)
at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.convert(LiferayVideoConverter.java:72)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:649)
... 2 more
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
But it's only when I upload video file.
Not when i try to use it in ckeditor.
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
mickael bruna:
But it's only when I upload video file.
Not when i try to use it in ckeditor.


Mickael, let me help you and please answer ALL of my questions if you want this fixed.

For example, you didn't answer me:

Was the video preview created? (go to Documents & Media and click on that video, check if video can be played in browser from video details).


And you didn't answer me questions I've just posted.
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
I just post an error I see before answer to your question.

This :

And mys portal-ext :

theme.css.fast.load=false
theme.images.fast.load=false

javascript.fast.load=true
javascript.log.enabled=false

layout.template.cache.enabled=false

browser.launcher.url=

combo.check.timestamp=true

freemarker.engine.cache.storage=soft:1
freemarker.engine.resource.modification.check.interval=0

log.sanitizer.enabled=false

minifier.enabled=false

openoffice.cache.enabled=false

com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.etag.ETagFilter=false
com.liferay.portal.servlet.filters.header.HeaderFilter=false
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Ok so the video preview can't be created.

Seems this:

ERROR [xuggler:82] Error: inputChannels > 2; unsupported 


is related. Xuggler doesn't support videos with more than 2 audio channels (stereo). For fixing it, transform your video to have only two audio channels and reupload, or use other video that accomplish this requirement.
mickael bruna, geändert vor 8 Jahren.

RE: Vidéos Webcontent liferay 6.2

Junior Member Beiträge: 66 Beitrittsdatum: 14.10.13 Neueste Beiträge
:'-( it's just a video for example I have download to internet.

I try with an other video and i go back after.

Thanks