I’ve seen some examples of people embedding Vimeo and YouTube videos into ScriptyLightbox.
Walter has a neat way to get it to work with YouTube with their new iframe version, but I want to know how to use standard embed code (like what works in a blog like WordPress) and have it run in ScriptyLightbox.
Place your embedded Flash code on the page as the only element. (Draw
a Markup Item on the page the size of the desired video, and paste the
embed code into it. Move that Markup Item to the top-left of the page
and don’t put anything else on the page.)
Apply PHP Make Insert Page to that page. (You don’t need to make the
page filename end in PHP for this to work, it’s just chainsawing off
the HTML, HEAD and BODY tags for you.)
Then in your lightbox, make your link from the thumbnail to this newly-
mangled page. It should just work. If it doesn’t, post a link to a
broken example and I’ll have another look at it.
Walter
On Oct 15, 2010, at 12:13 PM, george wrote:
I’ve seen some examples of people embedding Vimeo and YouTube videos
into ScriptyLightbox.
Walter has a neat way to get it to work with YouTube with their new
iframe version, but I want to know how to use standard embed code
(like what works in a blog like WordPress) and have it run in
ScriptyLightbox.
Most likely not, unless you hand-edit the embed code before you paste
it into your popup page. The exact details of that will depend on the
platform used. If you see an attribute in there labeled
autostart=“false” then I expect you can figure out what to do. But if
the attribute isn’t there – you’ll have to ask the provider (Vimeo or
whomever) what their specific incantation might be.
Walter
On Oct 15, 2010, at 2:24 PM, george wrote:
Is there any code I can add to have the video autoplay when the
lightbox opens?
Apply PHP Make Insert Page to that page. (You don’t need to make the page filename end in PHP for this to work, it’s just chainsawing off the HTML, HEAD and BODY tags for you.)
Install the PHP Make Insert Page Action in your copy of Freeway.
Move to the page in your Freeway document that you will display within the lightbox. While nothing on the page is selected (click somewhere blank to deselect everything) choose Page Actions / PHP Make Insert Page from the Page menu. You don’t need to change the filename of this page to end in .php, you do need to make sure that the document has been set to use External Stylesheets in your Site Preferences.
That’s it.
Walter
On Nov 21, 2011, at 3:01 PM, anton wrote:
hello walt can you tell me what you mean by this
Apply PHP Make Insert Page to that page. (You don’t need to make the page filename end in PHP for this to work, it’s just chainsawing off the HTML, HEAD and BODY tags for you.)
Thanks for the reply, but I am still having trouble. In preferences there is no ‘external stylesheets’ option and the PHP make insert page is not in the page menu?
Are you using Express, by any chance? In Pro, it’s here: File / Document Setup / Output / External stylesheets (checkbox, bottom third of the dialog).
The PHP Make Insert Page Action is available from ActionsForge (written by Paul Dunning and revised much later by me). PHP Make Insert Page - ActionsForge
Thanks for the reply, but I am still having trouble. In preferences there is no ‘external stylesheets’ option and the PHP make insert page is not in the page menu?