[Pro] iPad friendly flash video with ScriptyLightbox

Here is an example page and file

http://www.deltadzine.net/spurious/scriptyvideo.html

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It is almost spooky how just as I need to do something video based in Freeway - this discussion is already on going!

Dave, that is a great linky there, but when I amend your file to point to my own test server and use my own video, I don’t get the nicely formatted border, close box, loader etc etc.

It seems that rather than open and play the clip over the top of the video link page, my version opens a new window to play the video. Am I missing something obvious?

Jonthan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

hmmm. It actually seems as though there was nothing wrong with the file, but the browser just needed a quit and restart, although your test file worked OK every time, mine didn’t.

Very nice this, as it will allow me to host the video clips for the client without worrying that their stuff is being hosted alongside the more unsavoury side of the internet as it would be at youtube.

Thanks once again to those people much more clever than me.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 17 Jan 2011, 9:28 pm, george wrote:

Sounds over my head.

Right now can it handle embed code placed on another page if the video type is mp4?

Right now, it doesn’t need any additional pages or embed code if the movie file is in MP4 or another iDevice-friendly flavor of QuickTime like M4V. The only requirement is that you rename your movie files to include their geometry as [width]x[height]. So you could call fluffyBunny.m4v fluffyBunny320x240.m4v, link to it directly, and add the popup classname to that link (use the Extended sub-dialog in the Hyperlink dialog) and the effect would work.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi All,

Appears my previous post is a little out of place here. It seems that this discussion is quite a bit more advanced than just trying to create a light box affect. Still curious about my previous question but that might be better suited as an actions world post. Apologies for getting off topic.

Dave, regarding the example you provided, I have seen Walt’s Protaculous action before and have used it by pasting provided code in. Truth is I have know idea what it is doing. Is there somewhere I can school myself on what is going on and what each of the setting are for? You guys do some amazing stuff, this action in particular seems to require a level of development understanding that appears to be quite advanced.

As always thank you for all that you do,TeamSDA_Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ll refer you to the font of all Prototype knowledge, but please
understand – it’s a sheer 90° climb up a frozen waterfall, so bring
your ice axes and crampons. http://prototypejs.org

Protaculous is, to quote the ActionsForge listing, ‘a tool to give
advanced JavaScript mavens something to do in Freeway’. It brings only
the following things to the party:

  1. Prototype and Scriptaculous, or just Prototype if you don’t need
    all the singing and dancing.
  2. In the Protaculous page-action, two observer functions. The first
    runs when the DOM is loaded (usually well before the page is actually
    visible in the browser), and the second runs after the page is
    completely loaded. In the Observer function, the ability to assign up
    to 4 event observers to any object you have applied that Action to.

Now if your eyes glazed over at the mention of observer functions,
that’s probably where you will begin and end with Protaculous. Think
of it as suitable for the Linux-on-the-desktop crowd. If the following
code makes sense to you, then maybe it’s for you.

$$('li').invoke('observe','click',function(evt){
     confirm('Are you sure you want to ' + this.innerHTML + '?');
});

Carousel is also inside of Protaculous’s Action bundle, but that’s a
convenience for me based on the need to have the Prototype and
Scriptaculous libraries in both sets of Actions. But I’ll probably
stop doing that at the next major version of both.

Walter

On Jan 18, 2011, at 12:46 PM, TeamSDA wrote:

Hi All,

Appears my previous post is a little out of place here. It seems
that this discussion is quite a bit more advanced than just trying
to create a light box affect. Still curious about my previous
question but that might be better suited as an actions world post.
Apologies for getting off topic.

Dave, regarding the example you provided, I have seen Walt’s
Protaculous action before and have used it by pasting provided code
in. Truth is I have know idea what it is doing. Is there somewhere I
can school myself on what is going on and what each of the setting
are for? You guys do some amazing stuff, this action in particular
seems to require a level of development understanding that appears
to be quite advanced.

As always thank you for all that you do,TeamSDA_Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walt,

Your quick and simple description is most helpful. Where things get extremely foggy is with the code that needs to be inserted into the action to make various things work.

If a lot of web features are really code driven using Protaculous as an entry point and not something that could be nicely bundled into an action, do you see a day when a library of snippets of code may be set up with example documents?

Anyways it goes without saying, those of you who contribute your advanced developer knowledge do so much to make freeway what it is.

Thank You, TeamSDA_Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

although your test file worked OK every time, mine didn’t.

The important thing to watch for is the reference paths to the files on your server space. These files (ajaxload… and closebox) are referenced from the CSS in the Page>HTML Markup section. Just make sure they match where the files are on the server.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You will find a lot of them sprinkled through the Web archive of this
list, but I haven’t ever taken the time to collate them together. I’ve
spent a fair amount of time learning this stuff, but not formally, and
have asked a lot of questions on the Prototype-Scriptaculous mailing
list, and basically just added a wing on to my mental library to hold
the “Prototype Way”. Most of this becomes second nature after you’ve
built a few things from scratch and had to learn how to dig out
answers from Google and the documentation. But usually I get inspired
by a question, see a way to solve it in my mind’s eye, and begin my
post with “First, apply Protaculous to the page, and choose XXX from
the Library picker…”

Walter

On Jan 18, 2011, at 2:49 PM, TeamSDA wrote:

If a lot of web features are really code driven using Protaculous as
an entry point and not something that could be nicely bundled into
an action, do you see a day when a library of snippets of code may
be set up with example documents?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is this action creating a light box affect that one could place anything inside of

No - I believe that it (simply) opens a new browser window without the associated clutter of toolbars, scrollbars etc. etc. that would distract from the featured content.

I dont think that there is any reason why you cant have any content you want in it though.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks You Both,

Helpful as always, TeamSDA_Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options