Skip to content

NPAPI: Problems with short MRLs in Google Chrome

If you want to play short MRLs like "file:///e:/b.mp4" with vlc.playlist.add() in Google Chrome, the MRL will be corrupted with randomly characters at the end of the MRL. Here are some examples:

It's already corrupted at this point: https://code.videolan.org/videolan/npapi-vlc/blob/master/npapi/npruntime/npolibvlc.cpp#L911

No problems with Firefox or IE, no problems with the tag attributes.

Tested with Chrome 44

See also https://forum.videolan.org/viewtopic.php?f=14&t=134118

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information