YouTube full screen mode bug with dual displays

When I use dual displays watching YouTube video, it can not switch to full screen mode correctly. I assume it is because YouTube flash client calculate width and height based on the total of dual displays, and render the video into one display. So it is only displayed in 1/4 size of one display (my two displays are of same resolution).

I have tested how videos from 163.com and sina.com are rendered in full screen mode with dual displays. I find both of them are fine. So it eliminates the possibility that bug is in Flash Player.

BTW, I did not find a way to stretch the video into two displays.

Easiest way to install Flash Player in Fedora

Fedora 发行时不带 Flash Player,因为 Fedora 说 Flash is not free。我没去仔细研究这句话的意思,大概是指生成 Flash 的软件不免费吧。我也不喜欢 Flash,但是有那么多的资源得用 Flash Player。虽然 Fedora 推荐了两款 Open Source Flash Player,但播放时还是有七七八八的问题。除非大家都不用 Adobe Flash 制作 Flash,否则我还是离不开 Adobe Flash Player。

因此,面对现实,怎么在 Fedora Firefox 下安装 Fedora 最简单?今天发现一法,一分钟内搞掂,笔记如下:

  1. 从 http://labs.adobe.com/downloads/flashplayer10.html 下载一个压缩包。
  2. 解压其中的 so 文件 放到 /usr/lib64/mozilla/plugins
  3. 在终端中运行 mozilla-plugin-config -i -g -v

Why Google Analytics Dashboard Not Printing Out

About a month ago, I found I could not print Analytics Dashboard from IE (my version is 7 already). Every time I tried to print Dashboard, the browser freezed. I have tried different computers and different printers. The symptom is the same.

Analytics Dashboard is the only report I can not print from IE, but other reports are fine.

I can print Analytics Dashboard from Firefox, but the print layout is not as well formatted as it is in IE. So I have to use IE to print this report.

After I realise Flash 10 is causing problem of uploading images in magento, I think it might be same Flash causing another problem. However, this time Flash 10 is fine, but Flash 9 is not. As my test result shows, Analytics Dashboard can be printed in IE with Flash 10 installed. I assume the symptom is affecting IE with Flash version lower than 10.

I do not like Flash, but between Flash 9 and Flash 10, I prefer the former for now. I think a good program should work both on Flash 9 and 10. So I reported this problem to Google for them to improve Analytics. It must be some recent changes that prevent Analytics Dashboard from being printed.

It’s all Flash’s Fault

不经意中,电脑被装上了Flash 10。等我发现magento后台不能浏览和上传文件时,我怎么也没把原因和Flash 10联系起来。

首先我以为是magento 1.1.5升级到1.1.6造成的,因为我在1.1.5还成功上传过文件。当我专门为此搞了个试验,全新安装了一个magento 1.1.5来上传图片,还是无功而返。

浏览器提示javascript出错,可是我实在想不明白为什么以前可以,现在不可以。为此浪费了无数个晚上,终于让我找到了答案,Flash 10!

Flash 对此的解释冠冕堂皇:为了安全,Flash 10不再允许间接调用文件浏览对话框,文件浏览对话框只能由鼠标动作触发。很不幸,作为magento的上传部件,SWFUpload采用的是间接调用的方式,落入了Flash 10的打击范围。

我本来就不喜欢Flash,这次Flash 10又浪费了我这么多时间,magento至少被我拆装了3次!尽管它有千万个安全理由,我还是对它敬而远之。