I have this simple php code that works fine:
It just random and get one of the 3 youtube links and attrib to $mixupa
this part works fine
the problem is to make $mixupa run in JWPlayer source file
I'm trying this
jwplayer("PM").setup({sources: [{
file:"''",label:"LEG 360p","type":"mp4"}],logo: {
file: "http://www.apertaplay.com/assets/uploads/images/Fnl76oLANN.png",link: "http://www.apertaplay.com", hide: "true"},autostart: "false",width: "100%",height: "85%",
tracks: [{file: "/Filmes/novojw.vtt",label: "PT-BR",kind: "captions", default: "true",}],
captions: {color: "#FFFF00",fontSize: 18,edgeStyle: "uniform",backgroundOpacity: 0,},aboutlink:"http://www.apertaplay.com",abouttext:"ApertaPlay"});
already tried "" , '' , "''" etc
I wondering if I must have some .js script to allow jwplayer to run php code?
↧