We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42936
    • 30 Posts
    Hi again,

    Ok, I've gone back to jwplayer. I've linked to the js file in the head. Uploaded everything. This is the html I've got on my page, but nothing is appearing? Any thoughts?

    <div id="container">Loading the player ...</div>
    <script type="text/javascript">
    jwplayer("container").setup({
    flashplayer: "assets/jwplayer/player.swf",
    file: "/uploads/video.mp4",
    playlist: [
    { duration: 32, file: "assets/jwplayer/thinking.mp3",
    { duration: 32, file: "assets/jwplayer/mercy.mp3",
    { duration: 32, file: "assets/jwplayer/black.mp3",
    ],
    "playlist.position": "right",
    "playlist.size": 250,
    height: 250,
    width: 250
    skin: "assets/jwplayer/rowafed.zip/"
    });
    </script>
      • 42936
      • 30 Posts
      <div id="container">Loading the player ...</div>
      <script type="text/javascript">
      jwplayer("container").setup({
      flashplayer: "assets/jwplayer/player.swf",
      file: "/uploads/video.mp4",
      playlist: [
      { duration: 32, file: "assets/jwplayer/thinking.mp3",
      { duration: 32, file: "assets/jwplayer/mercy.mp3",
      { duration: 32, file: "assets/jwplayer/black.mp3",
      ],
      "playlist.position": "right",
      "playlist.size": 250,
      height: 250,
      width: 250
      skin: "assets/jwplayer/rowafed.zip/"
      });
      </script>
        • 19369
        • 1,098 Posts
        I am not an expert, but it seems that you didn't close the curly bracket for each row in the playlist. I suggest you make it work on a standard HTML page, when it is working there, upload it inside MODX. It should be easier to get it to work in this way.