<< Chapter < Page | Chapter >> Page > |
The final CNXML code for embedding this presentation is as follows:
<figure id="slidesharefigure"><media id="slidesharemedia" alt="Slide show introducing the ideas behind Connexions."><iframe src="http://www.slideshare.net/slideshow/embed_code/1888644?rel=0" width="425" height="355"/></media></figure>
And results in the following:
&
with
&
.id
for the
<figure>
,
<media>
, and
<flash>
elements each time you add a new video.If you choose to include Prezi presentations in your module, you will need to first copy the information provided in the
Embed HTML snippet provided by Prezi for the presentation you wish to use. As an example, consider
this presentation taken from a presentation developed by
UniqU . The Embed snippet for this presentation is as follows:
<div class="prezi-player"><style type="text/css" media="screen">.prezi-player { width: 550px; } .prezi-player-links { text-align: center; }</style><object id="prezi_n5c7h_bctk1c" name="prezi_n5c7h_bctk1c" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400"><param name="movie" value="http://prezi.com/bin/preziloader.swf"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="bgcolor" value="#ffffff"/><param name="flashvars" value="prezi_id=n5c7h_bctk1c&lock_to_path=1&color=ffffff&autoplay=no"/><embed id="preziEmbed_n5c7h_bctk1c" name="preziEmbed_n5c7h_bctk1c"
src="http://prezi.com/bin/preziloader.swf" type="application/x-shockwave-flash" allowfullscreen="true"allowscriptaccess="always" width="550" height="400" bgcolor="#ffffff"
flashvars="prezi_id=n5c7h_bctk1c&lock_to_path=1&color=ffffff&autoplay=no"></embed></object><div class="prezi-player-links"><p><a title="How to think about Connexions!" href="http://prezi.com/n5c7h_bctk1c/">UniqU: Making Connexions Easy!</a>on<a href="http://prezi.com">Prezi</a></p></div></div>
Since this code is designed for use on websites and not the CNXML language, the majority of this snippet is not necessary. The part that
is important is the
embed tag and the
param tags :
<param name="movie" value="http://prezi.com/bin/preziloader.swf"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="bgcolor" value="#ffffff"/><param name="flashvars" value="prezi_id=n5c7h_bctk1c&lock_to_path=1&color=ffffff&autoplay=no"/><embed id="preziEmbed_n5c7h_bctk1c" name="preziEmbed_n5c7h_bctk1c"
src="http://prezi.com/bin/preziloader.swf" type="application/x-shockwave-flash" allowfullscreen="true"allowscriptaccess="always" width="550" height="400" bgcolor="#ffffff"
flashvars="prezi_id=n5c7h_bctk1c&lock_to_path=1&color=ffffff&autoplay=no"></embed>
The CNXML example below illustrates how to embed a Prezi player in your module. Notice that it is implemented like a standalone flash object, with a few key features:
"http://prezi.com/bin/preziloader.swf
).The final CNXML code for embedding this presentation is as follows:
<media id="slidesharemed345234524352345ia" alt="Slide show introducing the ideas behind Connexions."><flash id="slidesharefldfadsfasfash"
height="400px" width="550px"mime-type="application/x-shockwave-flash"
src="http://prezi.com/bin/preziloader.swf"><param name="movie" value="http://prezi.com/bin/preziloader.swf"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="bgcolor" value="#ffffff"/><param name="flashvars" value="prezi_id=n5c7h_bctk1c&lock_to_path=1&color=ffffff&autoplay=no"/></flash></media>
And results in the following:
&
with
&
, if any are present.id
for the
<figure>
,
<media>
, and
<flash>
elements each time you add a new video.Notification Switch
Would you like to follow the 'Ideas and tools for improving connexions modules and collections' conversation and receive update notifications?