Hacker News new | ask | show | jobs
by fjarlq 5054 days ago
Speaking of controls, a request:

I want to be able to repeatedly replay selected moments in videos.

So, I hover my mouse pointer over the seek slider at a certain point in the video so that I can repeatedly click that point to repeatedly replay that particular moment.

But most video players (including Flowplayer) cause the controls to disappear after a few seconds, even if I just barely clicked.

This forces me to wiggle the mouse to wake up the controls right when I don't want to move my mouse because it's remembering a position in the video for me.

I would welcome any solution to this problem. A keyboard solution might work well. Youtube has keyboard shortcuts '1', '2', '3', for jumping to 10%, 20%, 30% into the video. I wish you could hit '.' or something to jump to the last position I set by clicking my mouse on the seek slider.

Also, I wish the controls did not fade away when I am hovering over them, using them.

By the way, Flowplayer seems to have a bug: if I attempt to hover over a point in the seek slider and repeatedly seek to that point, after the first click or two, it begins ignoring my seek request.

1 comments

This is a good one. So good that it's part of the next version. Here is a demo:

http://flowplayer.github.com/demo/seek/

Hey, sweet! Thanks.

A couple issues:

1) The number keys don't work when in full screen mode.

2) Also the keys don't work at all if the mouse pointer is outside the video rectangle. (Is that a limitation of the web browser interface?)

It'd be great to have a few more keyboard shortcuts too. Left/right arrow keys to skip backward/forward 10 seconds? Keys for double speed, half speed, and frame-by-frame playback mode? Hit '?' to see a list of keyboard shortcuts?

1) Looks like I cannot capture the keyboard event for number and alphabet characters on fullscreen mode. Just verified that with Chrome. Hoping to find a decent workaround.

2) That's intentional. Flowplayer is designed so that you can have multiple instances on a page and you can control one when you hover it or control with keyboard. When you're outside the player keyboard should control the page. For example spacebar will scroll one page.

Left/Right are already there in current version.

Slow motion and "?" are both good ideas. Probably implement them too.

1) Fullscreen support is now there.
Initial version of slow motion and fast forward are now there. Use ALT + left/right arrow keys.
Great!

One issue: on my Macs I've bound ALT + left/right (aka OPTION left/right) to change virtual desktops.

I unbound those keys so that I could try out your new feature, and it works great...very cool.

Not sure what you can do for guys like me who are in the habit of already using those keys. Also not sure what I can do.

I expect it will not be easy for you to provide a good way for me to customize my Flowplayer keys.

So, I wonder if it would make sense to provide a Flowplayer alternative to alt-left/right that users would be unlikely to remap. Ideas: +-, <>, []

What do you think?

I can make it configurable for site owners and users but I'd rather find good keys that doesn't need to be changed. +/- are quite good .. maybe shift + arrow keys?