Results 1 to 9 of 9

Thread: Problem with video display

  1. #1
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default 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?

  2. #2
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default 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.

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    484

    Default 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.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  4. #4
    User
    Join Date
    09-02-10.
    Location
    Banja Luka, Bosnia and Herzegovina
    Posts
    59

    Default 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!

  5. #5
    New user asidorov72's Avatar
    Join Date
    06-19-14.
    Location
    Sofia, Bulgaria
    Posts
    4

    Default 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

  6. #6

    Default

    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.

  7. #7
    New user asidorov72's Avatar
    Join Date
    06-19-14.
    Location
    Sofia, Bulgaria
    Posts
    4

    Default Error: Unsupported video type or invalid file path

    Quote Originally Posted by Lupus View Post
    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?

  8. #8

    Default

    Hello,

    Don't know if you find the problem but it seems to be solved.
    For me it works on FF, Safari, Chrome, Opéra and IE.

  9. #9
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    484

    Default

    It runs in my FF 31. Checked your flash player version?
    You're using zad_aplayer
    can play video in FLV file format and audio in MP3 file format;
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •