I'm coming across a touble in PHP web publishing with FMS13.
I'd like to share videos and images in the browser, but only video field works and image cannot be shown.
Both video and image fields are in external storages, and the connection is SSL except video.
Here are the codes:
<video src="<?php echo $record->getField('video');echo $fm->getContainerDataURL($video);?>" controls></video>
<img src="<?php echo $record->getField('image');echo $fm->getContainerDataURL($image);?>">
Although I've never determined varible $video, the video can be played. Strange, but anyway, it's works.
But the image don't. I checked the source codes in browser. It shows:
Above, "2014-12-03.jpg" is the original image name.
It I open the image in a new browser, it shows:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
I appreciate anybody can help me.