Online document playback problem: Player loading flash failed
On the internet to find Phpcms Baidu Library plug-in (source program is PHPCMS), according to do the next, the conversion has been successful, that is, when the display of the conversion of the good Flash is always loaded (player normal loading), solve.
Tools for conversion: OpenOffice3.0, Windows Resource kit Tools, and Swftools.
First show the page code:
PHP Code
{Loop $docurl $r} This document player wants to make sure that Adobe Flash Player version 10.0.0 or later.
{/loop}
On the internet to find a circle, some people say it is the wrong line,
PHP Code
Swffile:escape ("{$r [filename]}"),
should read:
PHP Code
Swffile:decodeuri ("{$r [filename]}"),
But I still can't load swf after I change it,
Also said that the SWF file name contains Chinese or SWF files are placed in the folder, so I put a converted swf file in the root directory, and the previous code to change:
PHP Code
Swffile:decodeuri ("a.swf"),
Or
PHP Code
Swffile:decodeuri ("/a.swf"),
Or
PHP Code
Swffile:decodeuri ("{app_path}/a.swf"),
Or
PHP Code
Swffile:decodeuri ("{app_path}a.swf"),