Tag Archives: flash

学长走之前给我们拷贝了一份的考研的视频(现在开的考研视频班用的大概也就是他了),可是呢,我那不争气的Ubuntu(8.04,7.10)死活无法播放flash文件,我已经尝试了许多方法,都不奏效。于是,我又转到Mac OSX上,使用QuickTime,但是令我失望的是QuickTime从7.1.3开始默认不支持Flash,至于原因,你可以阅读或者 Apple’s terse statement .

但现在我已经找到了使QuickTime播放Flash文件的方法,以下是Google翻译后的文章,原文连接:http://macosx.com/forums/howto-faqs/224332-howto-make-quicktime-player-accept-wmv-swf-files.html?nojs=1

[如何] QuickTime播放接受对WMV和SWF文件

如果您使用flip4mac的格式播放器 ( 10元;免费演示) ,以发挥wmv文件在QuickTime ,您可能恼火,你不能简单地拖曳’ ‘下拉wmvs到QuickTime播放器的图标。

It’s also a bit of a secret these days that QuickTime Player can play (some) Flash (.swf) files.这也是一个位元的一个秘密,这些天, QuickTime播放器可以发挥的(一些)的Flash ( 。瑞士法郎)的档案。 But again, you can’t drag ‘n’ drop them.但同样地,你不能拖’ ‘下降。

Here’s how to enable drag-and-drop for both WMV and SWF files (Note: you’ll probably need an administrator password to complete these steps):这里的如何启用拖放双方对WMV和SWF文件(注:您可能需要有管理员密码,以完成这些步骤) :

1. 1 。 Control-click QuickTime Player (in /Applications), and select “Show Package Contents”.控制点击QuickTime播放(在/应用) ,并选择“显示包的内容” 。 (Make sure QuickTime Player is not loaded.) (请务必QuickTime播放是没有加载) 。

2. 2 。 Open the Contents/Info.plist file in any text editor, like TextEdit or BBEdit.公开的内容/ info.plist文件在任何文本编辑器,如文字编辑或bbedit 。

3. 3 。 You’ll see a bunch of HTML-like tags.您会看到一大堆的HTML类似的标记。 Make a new line after this:使一个新行后,这:

Code:代码:
<key>CFBundleDocumentTypes</key>
<array>

And paste in this:并贴在这:

Code:代码:
 <dict>
			<key>CFBundleTypeExtensions</key>
			<array>
				<string>swf</string>
			</array>
			<key>CFBundleTypeMIMETypes</key>
			<array>
				<string>application/x-shockwave-flash</string>
			</array>
			<key>CFBundleTypeName</key>
			<string>Flash</string>
			<key>CFBundleTypeRole</key>
			<string>Viewer</string>
			<key>LSIsAppleDefaultForType</key>
			<string>No</string>
			<key>NSDocumentClass</key>
			<string>QTPMovieDocument</string>
		</dict>
		<dict>
			<key>CFBundleTypeExtensions</key>
			<array>
				<string>wmv</string>
			</array>
			<key>CFBundleTypeIconFile</key>
			<string>r129.icns</string>
			<key>CFBundleTypeName</key>
			<string>WMV</string>
			<key>CFBundleTypeOSTypes</key>
			<array>
				<string>ASF_</string>
				<string>WMV_</string>
				<string>WMV </string>
			</array>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>LSIsAppleDefaultForType</key>
			<string>Yes</string>
			<key>NSDocumentClass</key>
			<string>QTPMovieDocument</string>
		</dict>

4. 4 。 Save your changes.储存您的变更。 If you get an error message saying you don’t permission, follow these steps:如果你得到一个错误信息,说你不容许的话,请执行下列步骤:
4a.第4 A 。 Choose “Save As…”选择“另存为… … ” from the file menu, and save your Info.plist file onto the desktop.从文件菜单中,并储存您的info.plist文件到桌面上。
4b. 4B条。 In the Finder, drag the new Info.plist file you just saved over the old one (inside QuickTime Player).在Finder中,拖动新info.plist档案你刚才保存超过旧一(内QuickTime播放) 。 When the Finder asks you if you want to replace, say yes, and enter your administrator password at the prompt.当Finder中要求您,如果您要替换,说的话,并输入您的管理员密码在提示。

5. 5 。 In the Finder, move QuickTime Player to a different folder (it doesn’t matter what folder; I used /Applications/Utilities), and then move it back into /Applications.在Finder中,提出QuickTime播放到不同的文件夹(也不要紧,什么文件夹;我用/应用程式/工具程式) ,然后移回成/应用。 This is necessary to force OS X to update its database of what file types applications can accept.这是有必要的武力OS X中,以更新其数据库中什么样的文件类型的应用可以接受。

6. 6 。 Load QuickTime Player, and try dragging a WMV or SWF file onto its icon in the Dock.负载QuickTime播放,并尝试拖动wmv或SWF文件到它的图标,在被告席上。 It works now!它的工程! You’re done!您就大功告成了!

Again, keep in mind that QuickTime Player can NOT play all SWF files.再次,请记住, QuickTime播放器不能播放的所有SWF文件。 I guess (I’m not really sure) that it can only play ones made with older versions of Flash, which is why they took out the drag-and-drop ability they had in previous versions of QuickTime Player.我猜(我不是真的确定) ,它只能发挥的取得与较旧版本的Flash ,这就是为什么他们拿出拖放能力,他们在以前版本的QuickTime播放。 *shrug* *耸肩*

And, of course, you need Flip4Mac’s WMV Player if you want to be able to play WMVs. ,当然,您需要flip4mac的格式播放器如果您希望能够发挥wmvs 。