Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug in chrome #231

Closed
Bl0tCh opened this issue Oct 16, 2012 · 14 comments
Closed

Bug in chrome #231

Bl0tCh opened this issue Oct 16, 2012 · 14 comments

Comments

@Bl0tCh
Copy link

Bl0tCh commented Oct 16, 2012

Hi,

I've just built the last code present in github and it won't work in chrome (videoError) unless i cut the line
"< source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' / >" in demo.html.
It seems that chrome isn't able to read this file but the canPlayType function does'nt tell so.

I've tested with chrome 24 and chrome 22.

All the best

@mikelopez
Copy link

The oceans demo url worked perfectly fine with the initial markup in the documentation. Can you gist the full code to see whats going on?

I tested on chrome Version 22.0.1229.94

@Bl0tCh
Copy link
Author

Bl0tCh commented Oct 18, 2012

I just took the sources from the github repositery and tried it in chrome and it didn’t worked until i removed the mp4 source line from demo.html

From: Marcos Lopez
Sent: Tuesday, October 16, 2012 6:35 PM
To: zencoder/video-js
Cc: Bl0tCh
Subject: Re: [video-js] Bug in chrome (#231)

The oceans demo url worked perfectly fine with the initial markup in the documentation. Can you gist the full code to see whats going on?


Reply to this email directly or view it on GitHub.

@heff
Copy link
Member

heff commented Oct 29, 2012

Windows or Mac? It seems to be working for me.

@dc198689
Copy link

dc198689 commented Jan 2, 2013

Window XP 's Chrome and Window 8 's Chrome ---> Not OK, =[
My Chrome Version is lastest ! Version 23

I have V.Event Error, when i click play video after few second

@robertrv
Copy link

I have hte same problem, but happens just with some google chromes. I have seen the problem with mp4 and chrome on ubuntu 12.10, google chrome version: with quicktime plugin this one:

Chrome version: Chromium Version 25.0.1364.160 Ubuntu 12.10 (25.0.1364.160-0ubuntu0.12.10.1)
Plugin:
Name: QuickTime Plug-in 7.6.6
Description: The Totem 3.4.3 plugin handles video and audio streams.

On other laptop we have windows 7 professional:

Chrome version: Versión 26.0.1410.64 m
Plugins:
Nombre: VLC Web Plugin
Descripción: VLC media player Web Plugin 2.0.2
Versión: 2.0.2
Ubicación: C:\Program Files\VideoLAN\VLC\npvlc.dll
Tipo: NPAPI

Nombre: QuickTime Plug-in 7.7.2
    Descripción:   The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    Versión:   7.7.2 (1680.56)
    Ubicación: C:\Program Files\Mozilla Firefox\plugins\npqtplugin5.dll
    Tipo:   NPAPI


Nombre: QuickTime Plug-in 7.7.2
    Descripción:   The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    Versión:   7.7.2 (1680.56)
    Ubicación: C:\Program Files\Mozilla Firefox\plugins\npqtplugin6.dll
    Tipo:   NPAPI

(non of them worked)

I cannot even see this url (on both browsers) : http://video-js.zencoder.com/oceans-clip.mp4 but the webm version works fine, I did changed on our html to set first webm and this seems to work everywhere but not sure if this can be a problem.

I always get the the following error

Video Error 
_V_.Event
altKey: undefined
attrChange: undefined
attrName: undefined
bubbles: false
button: undefined
cancelable: true
charCode: undefined
clientX: undefined
clientY: undefined
ctrlKey: undefined
currentTarget: video#video_1_html5_api.vjs-tech
data: undefined
detail: undefined
eventPhase: 2
fromElement: undefined
handler: undefined
isDefaultPrevented: function returnFalse(){return false}
isPropagationStopped: function returnTrue(){return true}
keyCode: undefined
metaKey: undefined
newValue: undefined
offsetX: undefined
offsetY: undefined
originalEvent: Event
pageX: undefined
pageY: undefined
prevValue: undefined
relatedNode: undefined
relatedTarget: undefined
result: undefined
screenX: undefined
screenY: undefined
shiftKey: undefined
srcElement: video#video_1_html5_api.vjs-tech
target: div#video_1.video-js vjs-default-skin centrat vjs-playing
timeStamp: 1366186708296
toElement: undefined
type: "error"
vdata1366186707246: true
view: undefined
wheelDelta: undefined
which: undefined
__proto__: Object

This error also appears on some browsers which tries to use mp4 but they can reproduce the video without problems.

@bsabiston
Copy link

this is happening to me too. Latest Chrome on a Mac. Is there any solution?

@heff
Copy link
Member

heff commented Jul 23, 2013

@bsabiston Does videojs.com work for you in Chrome? I don't see any issues on Mac.

@bsabiston
Copy link

Yes, it does. In fact, it works on my own site for many videos, but not all. I can't figure out what makes one video work while another doesn't. It doesn't appear to be the encoding. The same encoding will work for some videos but not another. If you go to www.inchwormanimation.com, the top left clip works but the one below it does not. And the error is just in Chrome on Mac as far as I can tell.

@heff
Copy link
Member

heff commented Jul 23, 2013

@bsabiston It's the encoding. Run mediainfo on those two files and you'll see they're very different. The broken one uses MPEG-4 Visual, which chrome doesn't support.
http://code.google.com/p/chromium/issues/detail?id=54036

Video
ID                                       : 1
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L1
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : 20

So if you're encoding those the same way then your encoder is doing something weird.

@bsabiston
Copy link

Argh -- I was trying a bunch of different stuff yesterday, and I could have sworn I had them both encoded the same way. But I must have gotten confused at some point. Sorry -- they are working now thanks!

@bsabiston
Copy link

You don't happen to know how to get videos to loop under Android, do you? I haven't been able to get that to work.

@heff
Copy link
Member

heff commented Jul 23, 2013

Not off the top of my head. Start a new issue if you want to dig into it more.

On Jul 23, 2013, at 2:14 PM, bsabiston notifications@github.com wrote:

You don't happen to know how to get videos to loop under Android, do you? I haven't been able to get that to work.


Reply to this email directly or view it on GitHub.

@bsabiston
Copy link

Yeah, I did that a few days ago. Maybe someone will answer it.
Thanks
Bob

On Jul 23, 2013, at 1:33 PM, Steve Heffernan notifications@github.com wrote:

Not off the top of my head. Start a new issue if you want to dig into it more.

On Jul 23, 2013, at 2:14 PM, bsabiston notifications@github.com wrote:

You don't happen to know how to get videos to loop under Android, do you? I haven't been able to get that to work.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

@ariffin72
Copy link

Sent from Yahoo! Mail on Android

@mmcc mmcc closed this as completed Nov 7, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants