
How to add mediaId to multi sources
Hello. I want to tracking which sources are most played.
Example is...
playerInstance.setup({
playlist: [{
sources: [{
file: "myFile.flv"
},{
file: "myFile.mp4"
},{
file: "myFile.webm"
}],
image: 'image.jpg',
title: 'This is a multisource video!',
mediaid: '123456'
}]
});
"How to tracking *.flv or *.mp4 or *.webm to played?"
I tried
playerInstance.setup({
playlist: [{
sources: [{
file: "myFile.flv",
mediaid: '11111' //already video key
},{
file: "myFile.mp4",
mediaid: '22222'
},{
file: "myFile.webm",
mediaid: '33333'
}],
image: 'image.jpg',
title: 'This is a multisource video!',
}]
});
and not working
ps. sorry about my english