mayvelous

Me, Myself and Mayvelous

Archive for the ‘JS’ Category

Downloading Google Video

I’m passing on this article on “How to Download Google Video”. I’m sure some of you already know about this.
This is just for whoever don’t know yet and wanna try out.

It’s very useful for me since I cannot watch movies online with my low speed internet and must take time to download. My example is on “Nge Chit Oo” movie from Khayanpyar Einmet.

The site is right-click disabled but that’s nothing to worry about if you’re use firefox with webdeveloper extention.

Go to the video page and click the icon at the bottom to browse to actual google video page as shown in the following screen shot.
go google video

It will direct you to actual google video page like this link.

Follow the steps below to download google video.

  1. View the page source code and search for the keyword “googleplayer”
  2. Copy and paste the videoUrl parameter (all of the characters after the keyword “videoUrl=”)
  3. Press Ctrl-L to go to URL location bar. Type Javascript:unescape(“videoUrl”)
  4. where videoUrl should be the last parameter you have copied into the clipboard.

  5. It should output the actual URL on the broswer, copy and paste that URL onto your browser location bar again to download the FLV movie.
  6. Play it with a FLV Player.

Via: How to Download Google Video

Notes:
#1. Ctrl-F on view source page to enable search feature, type in the search keyword.
search googleplayer

#2. Some cases have to start after id/parameter as well. ie) in my example: everything after “videoUrl\u003d”,
start from “http” part till “%3Den” in the end.
Leave out “&autoPlay\u003dtrue\”
#5. I use this FLV player. The file (ngalchitoo) size is ~143MB by the way.

The easier way of getting video link is using “Adblock” firefox extension.

adblock

Read more about using “Adblock” extention to get google video link here.

You can also use some sites to generate url directly for you too (read the article for more), but this javascript method is just fine for me.

The same concept applies for YouTube videos too. Feel free to test around and enjoy downloading. ;)

Technorati Tags: , , , ,

LightBox JS V2.0

Just now Jason notified me about Lightbox JS upgrade.
Serious shits going on there.

What’s New in Version 2.0

  • Image Sets: group related images and navigate through them with ease
  • Visual Effects: fancy pants transitions
  • Backwards Compatibility: yes!

Very light, fast and way better than flash image effect(don’t start Min Thu).
I mean I prefer this over flash gallery effects.

Check out the “Image Set”, click one image and hover over it to browse forward or backward.
Very cool isn’t it?

So better get one copy and test it yourself. I got to too, I’m abit behind with it.
Download Link Here: Lightbox JS V2.

Technorati Tags: , , ,

  • Comments Off
  • Filed under: Aside Notes, CSS, Design, Development, JS
  • Open link in new window

    Do you know that target=”_blank” (Open page in new window) is not a valid xhtml tag? Well you probaby do but I didn’t till now.

    I kinda knew it’s invalid but I thought it’s valid for Xhtml transitional and version 1.0 only but not for strict…something like that I thought. Well I was absolutely wrong. It’s a html tag and totally invalid for xhtml whether your xhtml is transitional or strict or frame. Just not gonna work(it works) validate right.

    So I asked one of my colleagues and he pointed me to some script he used. I looked at it, thought about it and knew it’s opening new window or pop up window (Douh!). But I’m confused which tag exactly is the replacement of target=”_blank” tag. I got sinking feeling that I might be looking at the very solution right under my nose and don’t know about it. It’s kinda embarressing to ask him again for straight answer so what to do…google is my best friend. Always to google before asking stupid questions. So I googled and there is it, so simple and so stupid I was. hehe.
    So the answer is to replace it with rel=”external”

    Check these articles for more short explanation and a nice script:
    target=”_blank” XHTML 1.0 Strict Conversion
    New-Window Links in a Standards-Compliant World

    This is probably a usless post but who cares!
    Anyway I’m compiling a longer, useful post and this one is posted as a breaking news.

    Technorati Tags: , ,

  • Comments Off
  • Filed under: Design, Html, JS, Work, Xhtml
  • Flickr Photos

    Downloads

    Twitter Status


    Goodie Links


    Mayvelous Friends


    I'm an Author for Global Voices

    Archives