So I'm working on my first bookmarklet and had a few questions.
The goal of the bookmarklet is to overlay a video player on any website to essentially dim the lights everywhere except the actual player.
The user flow would go something like this:
- user clicks the bookmarklet and they are able to hover over certain elements of the page where they highlight (think Firebug inspect)
- user hovers over the correct div (where the video is) and clicks it
- that area that they click remains "see-through" while the rest of the visible browser page goes black (or say 90% opaque.)
- clicking the bookmarklet again would clear the selection and allow the user to start over.
Another idea would be to allow the user to "drag / draw" a rectangle where the video would be and then step 3 would occur after making a selection on the page.
I'm just looking for any ideas / snippets / anything else that might be out there to get me going in the right direction.