3 Replies Latest reply on Sep 13, 2012 9:03 PM by petery009

    How to play video or audio files using CWP with PHP ?

    petery009

      Hello

       

      I was following the fms12_cwp_php_en.pdf to get started. By using the example file FMPHP_Sample.fmp12, i see how it display the image on the web.

       

      <tr><th>Cover Image</th><td> <img src="containerBridge.php? path=<?php echo urlencode($record->getField('Cover Image')); ?>" > </td></tr>

      echo $fm->getContainerData($_GET['path']);

       

       

      But i cannot figure out how to play the video or audio on the web ?

       

      i simply tried this : change the img to embed from above code.

       

      from the web browser , it shows me that field : missing plug in ?

       

       

      Any suggestions is appreciated!

       

      Thanks!!