GrindPlayer
GrindPlayer copied to clipboard
VM4412:8 Uncaught SyntaxError: missing ) after argument list
I have the following
streamParams.javascriptCallbackFunction = camera.videoJSBridge;
cameraController.prototype.videoJSBridge = function(playerId, event, data) {
switch (event) {
case "onJavaScriptBridgeCreated":
debug('Video js bridge created', playerId);
camera.feeds[streamId].domElement = $('#' + playerId).get(0);
break;
case "buffering":
But I get the following error on init
VM4412:8 Uncaught SyntaxError: missing ) after argument list
I've highlighted the part it doesn't like. It seems to strip the + from the jQuery selector I have in the above code.
if playerId exists, and added via params before embed to page, that's mean this is not grindplayer related issue