We embed YouTube videos. Here is the code:
<!IoRangeRedDotMode><p class="ww"><!IoRedDotOpenPage><!/
IoRangeRedDotMode><!IoRangeNoEditMode>[Open Block]<!/
IoRangeNoEditMode><!IoRangeRedDotEditOnly>[Close Block]<!/
IoRangeRedDotEditOnly><!IoRangeRedDotMode></p><!/IoRangeRedDotMode>
<!IoRangeRedDotEditOnly>
<div class="blockoptions">
<p><em>After adding video you may get a warning about unsecure
content when loading this page.</em></p>
<p>YouTube URL:<!IoRedDot_stf_YouTubeURL>
<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_YouTubeURL).Value.Trim().Length"
operator=">" valueb="Int:0">
<htmltext><%stf_YouTubeURL%></htmltext>
</query>
<query type="else">
<htmltext>[No URL prodvided]</htmltext>
</query>
</if>
</reddot:cms>
</p>
<p>Alignment:<!IoRedDot_opt_alignment><%opt_alignment%></p>
</div>
<!/IoRangeRedDotEditOnly>
<object class="youtube <%!!
Context:CurrentPage.Elements.GetElement(opt_alignment).Value.ToLower() !!
%>" data="http://www.youtube.com/v/<%!!
Context:CurrentPage.Elements.GetElement(stf_YouTubeURL).Value.Substring(Int:
16, Int:11).ToString() !!%>" type="application/x-shockwave-flash">
<param value="http://www.youtube.com/v/<%!!
Context:CurrentPage.Elements.GetElement(stf_YouTubeURL).Value.Substring(Int:
16, Int:11).ToString() !!%>" name="movie">
</object>
On Sep 6, 5:45 am, Sami Dubey <[email protected]> wrote:
> Hi All,
>
> Can any one help me on this:
>
> we have videos to be played in our site, so we are using object tag to
> play in IE7 while giving param tag inside text placeholder after
> publishing it does not render.
>
> How we can give param tag for a object inside text placeholder?
>
> Your help will make my work easy!!!! thanks in advance :)
>
> Thanks
> Samridhi
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.