Problem with video display
I have successfully installed the extension ch_flowplayer, also I have installed flowplayer plugin from the repository, but when I add some video to an article, nothing is shown.
There is a space defined with width and height, cursor changes from arrow to hand on hover, but file can't be loaded. I have some doubts that it is something related with server or firewall, because script is working in local (flowchart example page).
Any suggestion, please?
Re: Problem with video display
I found out that the problem is due to server. Any video that play locally, after being uploaded, is not showing there.
Re: Problem with video display
Check your filename, spaces in there? Uppercase letters? English letters only? Also try to use an absolute path instead of a relative one.
Re: Problem with video display
I have suspicions, but they are confirmed now. It was due to firewall which blocked any streaming video from domain. I just browsed the site from home and video in article works perfectly fine. Still, I wonder why. Same type of files are running without restrictions on some another sites.
So much wasted time, ah!
Error: Unsupported video type or invalid file path
Hello.
I use Contao CMS 3.3.3.
I have a problem with video/audio type in content articles.
Inside in my article i can see the message:
The j_mediaelement template needs to be included in the page layout.
But in the theme settings I checked j_mediaelement.
In Chrome, Safari and IE I can see the error:
Error: Unsupported video type or invalid file path
So. I think it is linked with the message in my article about j_mediaelement. Am I right?
Where I can see include the j_mediaelement?
Thank you very much
Error: Unsupported video type or invalid file path
Quote:
Originally Posted by
Lupus
Hello,
To use the mediaelement, you have to check the "mediaelement" in "JQuery" section when you create your layout.
Then, take care at the layout on the page you have video / audio elements.
If i doesn't work, maybe it's the browser who doesn't know how to read your file ?
https://developer.mozilla.org/en-US/..._media_formats
Hope it helps.
Hi.
Of course I included j_mediaelement in my Contao theme, but it still doesn't work in FF, Safari and IE.
It works in Chrome and Opera.
I read the article from your link. So If I am right for different browsers there should be different file's format:
HTML Code:
<source type="video/mp4" src="pics/video/gizmo.mp4"></source>
<source type="video/webm" src="pics/video/gizmo.webm"></source>
<source type="video/ogg" src="pics/video/gizmo.ogv"></source>
I did it. I decided to implement the code lines into my contao, using jQuery, but it doesn't work.
You can see it here:
http://know-it.kunden-webseiten.de/p.../zum-film.html
And this is my jquery code:
Code:
$(function(){
$video = $('video');
$video.append('<source type="video/mp4" src="files/praxis_jagdt/uploads/media/gizmo.mp4"></source>');
$video.append('<source type="video/webm" src="files/praxis_jagdt/uploads/media/gizmo.webm"></source>');
$video.append('<source type="video/ogg" src="files/praxis_jagdt/uploads/media/gizmo.ogv"></source>');
});
It is very simple code and just to test.
Please what did I do wrong?