[M2] [M2-Button] View Video 1.2.6, updated 9-4-2009

[M2-Button] View Video 1.2.6, updated 9-4-2009

View web page video in a detached tab. The video will continue to play after detach without restart. The plugin will auto run after installation, and can be configured to run manually by clicking the plugin button. An icon will be shown in the top right corner of detected video when mouse hover the video.




Other Details

Re-attach Tab
MX2 cannot re-attach detached tab at the moment. But the plugin can reopen the current url by right click the close button of the video window.

Detect Video
A few webpages load videos after the page is fully loaded so it can show ads etc. The plugin may not be able to detech such videos. In such case you may click the plugin button or switch the tab so the plugin will check again.

Resize Video
Most videos can be resized by resizing the video window, but this depends on the video. Some flash produce blank area around the original video area after resize, you may try right click and select "View All", if presents, to fill the blank area.

Closing Maxthon
Version 1.2.3 can continue to play with Maxthon closed. Note that since the plugin belongs to Maxthon's process and so when Maxthon is closed the process will not exit until the plugin's video window is also closed.

Manual Run
The plugin can be configured to detech videos only when the plugin button is clicked. Add the following to the plugin.ini, or plugin0xYYYY for your language if presents.
Copy to clipboard
Code:
[config]
AutoRun=0
.


Changes

1.2.6
- improved popup speed and reduced flickering

1.2.5
- fixed a video detection problem

1.2.4
- fixed some problems in 1.2.3

1.2.3
- can continue to play with maxthon closed
- improved compatibility with Maxthon 2.5.x anti-freeze

1.2.2
- compatible with maxthon 2.5.2
- fixed a frame problem

1.2.1
- detach and show video window faster
- fixed some video display problem
- fixed problem that sometimes detached tab is not converted to video window
- fixed problem that webpage not properly closed in some web sites
- added mouse pressed effect to buttons

1.2.0
- compatible with 2.5.1 anti-freeze feature, won't cause anti-freeze fail now
- when shift is hold, video button and float title bar won't be shown
- when shift is hold, resize video window won't resize video
- fixed problem that the next video, if any, cannot be played automatically
- fixed problem that sometimes a video has 2 task bar buttons
- cancelled "open blank page when the only tab is detached"

1.1.0
- added plugin button, can be configured to run manually
- will open blank page when the only tab is detached
- will restore maxthon when reopen in maxthon and maxthon is minimzed
- fixed resize problem when maxthon is minimized
- fixed position problem when maximized
- fixed some focus problems
- compatible with maxthon 2.5.1


Note
- for Maxthon 2.0.9 or later
- for windows 2k or above
- before update to new version, please disable existing version and restart maxthon


Download
http://addons.maxthon.com/en_US/post/2440
that's nice. does it work for any kind of video and on any website?
if not which websites does it support?

Reply 2# UFO's post

It works on any site. Actually the plugin works for <object> which is at least 150x150 with aspect ratio from 0.8 to 2.5.
Another great plugin, thanks abc !

Italian translation    ViewVideo_0x0410.zip (445 Bytes)
On the first couple of tries on youtube I got stack overflow and run time errors. Youtube has auto start vids and the icon doesn't show until you stop the video. On the first couple of tries M2 crashed.

I then tried this vid: http://gizmodo.com/5124083/onion ... pples-macbook-wheel (a great vid for all you Apple fans ) It ran great, icon shows on hover.

Back to youtube, now it runs great too! But again, icon only shows when auto started vid is stopped. I like this plugin

Thanx abc

[ Last edited by ntzphyr at 2009-1-6 07:41 ]
1. XPsp3   |  IE8.0.0.6001    |  M2.5.9.2122 |  WMP 11
2. XPsp3   |  IE8.0.0.6001    |  M1.6.5.18   |  WMP 11
3. XPsp3   |  IE8.0.0.6001    |  M3.0.4.8    |  WMP 11

                                               網隊火災

Reply 5# ntzphyr's post

Does this one http://hk.youtube.com/watch?v=zJMi5lvQqq8 work in your case?

Sometimes the event may not fired properly, you may try move the mouse out and then hover the video again.
Quote:
Original posted by Whiteshark at 2009-1-6 19:10
Another great plugin, thanks abc !

Italian translation   19204

Thanks

very usefull plugin

I found a bug in full screen mode ...
The window is not properly scaled!
Look down and right side


Opened new page in this window!


And don't work "Reset to original size"!

And +++ (Russian) plugin0x0419.ini
plugin0x0419.rar (476 Bytes)

[ Last edited by Script at 2009-1-6 17:56 ]
S-C-R-I-P-T.BLOGSPOT.COM <- my blog.
abc, since people report that the icon sometimes doesn't appear, can you add an alternative option for that? for example, putting an icon/link beneath the video?
Quote:
Original posted by abc@home at 2009-1-6 08:03
Does this one http://hk.youtube.com/watch?v=zJMi5lvQqq8 work in your case?

Sometimes the event may not fired properly, you may try move the mouse out and then hover the video again.

Since trying the Jordan vid I have not been able to get the plugin to work at all. The icon does not show at all until you stop video. Once it shows its not even necessary to click it, M2 crashes. Trying to view Apple vid from post #5, tab detaches and remains in background(the entire tab)I've disabled filters, all other plugins and AH.
Disabled, closed, reopened and deleted. Rebooted, reinstalled, same thing.
Disabled float button. Ah, Apple vid now works. Retry Jordan vid, stop vid, icon appears, tab favicon disappears, M2 crashes.
Maybe this is helpful, when float button is reenabled, clicking on it when view icon is vissible also crashes M2.(sometimes)
Right now I'm able to use it on Apple vid and Jordan vid remains stuck in back ground. Could all this be due to a slow machine?
Edit: M2 crashing seems to happen when vid finishes loading while vid is paused.
When the detached tab problem occurs, closing all tabs shows video and detached tab remains in background
1. XPsp3   |  IE8.0.0.6001    |  M2.5.9.2122 |  WMP 11
2. XPsp3   |  IE8.0.0.6001    |  M1.6.5.18   |  WMP 11
3. XPsp3   |  IE8.0.0.6001    |  M3.0.4.8    |  WMP 11

                                               網隊火災
Nice plugin.
But there are a few things i dont like:
If i click the video button not with left mouse button, but for example middle or right one - yes it opens this video, but Maxthon i minimized.
And is it possible to open this video in new tab without closing the current one?

PS: And not related to this plugin, but just want to know - in FF there is a plugin that allows to whatch all the video in new tab in some media player. Is that possible here? (to add a context menu item "open video" or smth like that)
This is a great plugin.

At first use when I detached a video on youtube, the whole tab was detached and not just the video (like you open a new window in IE), so the whole page was open in a new window. (I didn't wait for the video to be fully downloaded.)

Also what does topmost mean?

And finally abc: I see 2.1.5.1869 beta on your screenshot. Is it available somewhere to download?

[ Last edited by picimako at 2009-1-7 04:08 ]
When opening a video when only 1 tab is opened - no tabs are left opened =) (no speed dial also)
Here is a screenshot of Forest_Elf's problem.

[ Last edited by picimako at 2009-1-7 06:40 ]

Attachment

Youtube.jpg (100.86 KB)

2009-1-6 16:39

Youtube.jpg

Quote:
Original posted by Forest_Elf at 2009-1-7 02:25
Nice plugin.
But there are a few things i dont like:
If i click the video button not with left mouse button, but for example middle or right one - yes it opens this video, but Maxthon i minimized.
And is it possible to open this video in new tab without closing the current one?

PS: And not related to this plugin, but just want to know - in FF there is a plugin that allows to whatch all the video in new tab in some media player. Is that possible here? (to add a context menu item "open video" or smth like that)

May add these options in future versions
Quote:
Original posted by picimako at 2009-1-7 03:09
This is a great plugin.

At first use when I detached a video on youtube, the whole tab was detached and not just the video (like you open a new window in IE), so the whole page was open in a new window. (I didn't wait for the video to be fully downloaded.)

Also what does topmost mean?

Yes the plugin detach the whole page instead of the video so the video can continue to play without restart. Topmost means setting the video window always on top of other windows.
Quote:
Original posted by ntzphyr at 2009-1-7 00:06
Since trying the Jordan vid I have not been able to get the plugin to work at all. The icon does not show at all until you stop video. Once it shows its not even necessary to click it, M2 crashes. Trying to view Apple vid from post #5, tab detaches and remains in background(the entire tab)I've disabled filters, all other plugins and AH.
Disabled, closed, reopened and deleted. Rebooted, reinstalled, same thing.
Disabled float button. Ah, Apple vid now works. Retry Jordan vid, stop vid, icon appears, tab favicon disappears, M2 crashes.
Maybe this is helpful, when float button is reenabled, clicking on it when view icon is vissible also crashes M2.(sometimes)
Right now I'm able to use it on Apple vid and Jordan vid remains stuck in back ground. Could all this be due to a slow machine?
Edit: M2 crashing seems to happen when vid finishes loading while vid is paused.
When the detached tab problem occurs, closing all tabs shows video and detached tab remains in background19212

I'm not sure what caused the problem. Are you using xp or 98? Which flash version are you using?

Also try copy and paste the following to blank collector tab, press the green arrow to run in the jordon video page and see if the video get a red border when you mouse hover the video:
Copy to clipboard
Code:

var obj=document.getElementsByTagName('object')
obj[0].onmouseover=function(){this.style.border='3px solid red'}
obj[0].onmouseout=function(){this.style.border=0}
xpsp3  ie8b2  flash 10.0.12.36  M2.1.5.1869

I do get red border on hover
1. XPsp3   |  IE8.0.0.6001    |  M2.5.9.2122 |  WMP 11
2. XPsp3   |  IE8.0.0.6001    |  M1.6.5.18   |  WMP 11
3. XPsp3   |  IE8.0.0.6001    |  M3.0.4.8    |  WMP 11

                                               網隊火災
Thanks abc for the reply!

Here is the hungarian translation!

And a question: Is the "Set to topmost" the default setting?

Attachment

plugin0x040e.zip (406 Bytes)

2009-1-7 02:18, Downloads: 109

Quote:
Original posted by picimako at 2009-1-7 16:18
Thanks abc for the reply!

Here is the hungarian translation!

And a question: Is the "Set to topmost" the default setting?

Yes, the video window is set to topmost by default. Does it work in your case?

If you prefer not to set topmost by default, you can add a line in the plugn.ini (for your translation if presents)
Copy to clipboard
Code:

[Config]
NoTopmost=1