1 Reply Latest reply on Jun 6, 2015 1:23 PM by mendocinotim

    Audio from folder played via FMPA 14 web viewer (problem)

    mendocinotim

      Title

      Audio from folder played via FMPA 14 web viewer (problem)

      Post

      This is best explained if I just show you what's involved in this issue through a screen capture movie.
      This is 6 minutes long (so be warned)..
      See: https://youtu.be/Q5qbt9jjE7g

      I forgot to show the web viewer code in the movie.

      Here's the code for the one that is working..

      "data:text/html,¶" &
        
      "<audio controls=\"controls\"><source src=\"" & "file://" & Shows::SINGLEShowFilePlayer & "\" type=\"audio/mp3\" /></audio>"

       

       

      And this is the second one 'which does not work..

      "data:text/html,¶" &
        
      "<audio controls=\"controls\"><source src=\"" & "file://" & Shows::MULTIshowSelectedSeg & "\" type=\"audio/mp3\" /></audio>"

       

       

      It's odd that one works, while the other one doesn't.
      I have tested the calculated path in the finder, and it does indeed point directly to the audio files, and the play fine in the finder; but not in the web viewer.

      I am quite bewildered about this, and am hoping someone will spot what I might be doing wrong here.

        • 1. Re: Audio from folder played via FMPA 14 web viewer (problem)
          mendocinotim

          Ahhhhh... I found the problem.

          It was the "#" in the "/Show#[1578]" part of the final path - which needed to be URL encoded in order to work.
          i.e... I made this change to the "MULTIshowSelectedSeg" calculation field:

          Substitute ( GetValue ( MULTIfileTrackList ; MULTIshowSelectedValue ) ; "#" ; GetAsURLEncoded ( "#" ) )

          This was to original, that was not working:

          GetValue ( MULTIfileTrackList ; MULTIshowSelectedValue )

           

          Problem resolved.