Articulate Community Forums

Articulate Community Forums » Articulate Product Forums » Articulate Presenter » embed SWF in web page

Reply
 
LinkBack Thread Tools Search this Thread
Old 07-07-2009, 11:39 AM   # 1
Member
 
Join Date: Sep 2008
Posts: 30
Default embed SWF in web page


I am trying to embed an Presenter generated SWF into a web page

It works OK if I try to embed a single slide e.g.

<object width="660" height="405">
<param name="movie" value="mysite/data/swf/slide1.swf"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="mysite/data/swf/slide1.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="405"></embed></object>

but if I want to embed the player in order for the viewer to watch/interact with the whole presentation, e.g., by linking to playershell

<object width="660" height="405">
<param name="movie" value="mysite/player/playershell.swf"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="mysite/player/playershell.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="405"></embed></object>

Then I get a blank page. The object is there, and if I right click and click 'play' then I get the message "**** called the test framelabel inside the flash player"

If I enter the URL mysite/player/playershell.swf directly into my address bar, the whole presentation plays back fine. But not when I try to embed it.

Any suggestions?
lawrencew is offline  
Reply With Quote
Old 07-09-2009, 09:14 AM   # 2
Moderator
 
daveperso's Avatar
 
Join Date: Jul 2006
Location: France
Posts: 1,508
Default Re: embed SWF in web page


Why not embed your presentation as a web object? You can have one presentation running inside another without any problem. You just need to make sure that you rename the player.html of the embedded presentation to index.html. Plus there is no need to write any new code. The code is already in the new index.html.

Regards
__________________
Dave Moxon

*********************************
Product Specialist
Articulate - The Global Leader in Rapid E-Learning
www.articulate.com

Blogs: Daveperso's eLearning Blog - Tips and tricks on using Articulate software - daveperso.com
Daveperso - Le Blog Articulate En Français ! - daveperso.fr
daveperso is offline  
Reply With Quote
Old 07-09-2009, 09:27 AM   # 3
Member
 
Join Date: Sep 2008
Posts: 30
Default Re: embed SWF in web page


Thanks Dave,

I have thought of that, and have built a 'kiosk' type presentation that allows the user to select which elearning module they want to view.

However, ideally I would still like that to be embedded in the web page, rather than opening in a new window. Hence the same problem of embedding a presentation rather than an individual slide still exists.
lawrencew is offline  
Reply With Quote
Old 07-09-2009, 09:48 AM   # 4
Moderator
 
daveperso's Avatar
 
Join Date: Jul 2006
Location: France
Posts: 1,508
Default Re: embed SWF in web page


I am sorry. I don't follow. Maybe need another cup of cofffee. You can have your web object embedded in your presentation without it opening in a new slide like in this demo I did some time ago. (Look at the demo in the menu).
__________________
Dave Moxon

*********************************
Product Specialist
Articulate - The Global Leader in Rapid E-Learning
www.articulate.com

Blogs: Daveperso's eLearning Blog - Tips and tricks on using Articulate software - daveperso.com
Daveperso - Le Blog Articulate En Français ! - daveperso.fr
daveperso is offline  
Reply With Quote
Old 07-09-2009, 10:22 AM   # 5
Member
 
Join Date: Sep 2008
Posts: 30
Default Re: embed SWF in web page


No, I think it's me that needs the coffee..

I now understand what you are saying. I hadn't used a web object before.
Once I renamed the player file to index, I could embed it in the slide and get it to play in a 'window' inside that slide.

What I need to look at next is whether I can then copy the code on the player.html page for my 'kiosk' and embed that in one of the pages on our website.

Thanks for the suggestion.
lawrencew is offline  
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On