Note that there are some explanatory texts on larger screens.

plurals
  1. POEmbedding Video Code with PHP
    text
    copied!<p>I am developing a web application with backend administration panel that allows users to insert video embedding code. This code will render the video on the corresponding page as i am echoing that code at that location.</p> <p>The problem is that, when i echo the code, the code itself gets displayed instead of video being shown. Where i am going wrong?</p> <p>Here is the code entered by user in the textarea in admin panel:</p> <pre><code>&lt;pre&gt; &lt;object id="vp110mFH" width="432" height="240" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"&gt;&lt;param name="movie" value="http://static.animoto.com/swf/w.swf?w=swf/vp1&amp;e=1340255540&amp;f=10mFH15tm8Wyv1UT85DhEA&amp;d=72&amp;m=p&amp;r=360p&amp;volume=100&amp;start_res=360p&amp;i=m&amp;ct=Click...To%20request%20more%20Info..&amp;cu=http://schoolanduniversity.com/study_programs/more-information.php&amp;options="&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed id="vp110mFH" src="http://static.animoto.com/swf/w.swf?w=swf/vp1&amp;e=1340255540&amp;f=10mFH15tm8Wyv1UT85DhEA&amp;d=72&amp;m=p&amp;r=360p&amp;volume=100&amp;start_res=360p&amp;i=m&amp;ct=Click...To%20request%20more%20Info..&amp;cu=http://schoolanduniversity.com/study_programs/more-information.php&amp;options=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="432" height="240"&gt;&lt;/embed&gt;&lt;/object&gt; &lt;/pre&gt; </code></pre> <p>Please guide.</p> <p>Regards, Mrinal Purohit</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload