1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-19 10:54:16 +02:00

Added encodeURIComponent to escape source.src

This commit is contained in:
Yoshito Komatsu 2012-01-18 23:24:02 +09:00
parent fa9e97bb56
commit 528fa52b29

View File

@ -294,7 +294,7 @@ _V_.flash = _V_.PlaybackTech.extend({
// If source was supplied pass as a flash var.
if (source) {
flashVars.src = source.src;
flashVars.src = encodeURIComponent(source.src);
}
// Add to box.