Skip to content
This repository was archived by the owner on Mar 19, 2018. It is now read-only.
This repository was archived by the owner on Mar 19, 2018. It is now read-only.

Examples stops after 1 second and keeps buffering in chrome #15

@skippengs

Description

@skippengs

It seems to work in firefox, although it syncs all 3 video's after the first reload. for some reason, it seems to work best in Edge. But in chrome it doesn't work. It keeps buffering, and whenever you press play it wil start for some miliseconds and start buffering again.

If i strip the $.synchronizeVideos(0, mediagroupId); and refresh the page. I will play the master video, and then put the code in the console and now it keeps playing and is more or less synced.

I tried to put it behind a timeout but that doesn't matter, and my latest solution i tried to tie it to the html event play.

var video = $('#example_video_1')[0];

    video.addEventListener('playing', function(){
           console.log("-----------started playing---------------");
           $.synchronizeVideos(0, mediagroupId);
    });

While this works, it now the master is out of sync with the other 2 video's.
working demo: http://videosync.skippy.nu/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions