Adobe
产品
Acrobat
Creative Cloud
创意套装
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
更多产品
解决方案
数字营销
数字媒体
教育
金融服务业
政府部门
网页体验管理
更多解决方案
学习帮助下载公司
商店
在线商店
批量许可
查找经销商
搜索
 
信息 登录
欢迎,我的支持
我的帐户
注销
为何登录?登录后可以管理您的帐户,访问试用版下载、产品扩展和社区区域等。
Adobe
产品 分类 购买   搜索  
解決方案 公司
学习
登录 注销 我的货物 我的支持
Date Date
Qty:
Subtotal
Checkout
Adobe Developer Connection / Video on the web /

利用Flash媒体回放轻松实现Web视频

作者 Greg Hamer

Greg Hamer
  • provenWebVideo.com

Content

  • Using the Flash Media Playback video player
  • Demo: Flash Media Playback video player
  • Flash Media Playback support
  • Advanced video player options beyond Flash Media Playback
  • Where to go from here

Modified

18 October 2010

页面工具

在 Facebook 上共享
在 Twitter 上共享
在 LinkedIn 上共享
书签
打印

Tags

要求

必备知识

Prior experience working with HTML and an understanding of basic HTML concepts.

 

Web files

Video file uploaded to a web server.

 

Web page uploaded to a web server that contains player embed code.

用户级别

全部

必需产品

  • Flash Media Playback
  • Dreamweaver (Download trial)

To share your video with the world, the quickest and easiest way is to put it on the web. In order for viewers to watch your video, a video player is needed. To make this easy for everyone, Adobe has released a free player, called the Flash Media Playback video player. This video player is available online to make it convenient to find whenever you need it. You can use the player on any web page by adding a small amount of code to it (see Figure 1).

Flash Media Playback video player demo
Figure 1. Flash Media Playback player (click to view demo video)

This article describes how easy it is to publish video using the Flash Media Playback video player. I also provide an overview of the powerful options available, and give a demo that walks you through the simple basics of getting the HTML embed code for the video player and pasting it into a web page.

Flash Media Playback (FMP) is a great video player for bloggers, small businesses, enterprise websites, and anyone who wants a simple solution to provide a simple, web-based video experience. Flash Media Playback handles the complexities of connecting to your video source, providing viewers with high-quality video playback.

Using the Flash Media Playback video player

To incorporate the Flash Media Playback video player into your web page, simply add the player embed code to the HTML page. When visitors load the web page in a browser, FMP is automatically displayed with your video playing on the page.

There are two ways to create the embed code necessary to use FMP:

  • Flash Media Playback Setup page
  • Manually edited embed code

Flash Media Playback Setup page

To copy the embed code, visit the Flash Media Playback Setup page at osmf.org/configurator/fmp/. The Flash Media Playback Setup page (see Figure 2) contains two main sections on the left and the right. Use the form on the left to enter the values for your video: video source location and various custom settings. The right side of the page contains a preview player and the preview embed code. Enter the values and then click Preview to generate the proper embed code.

Flash Media Playback setup screen
Figure 1. Flash Media Playback setup screen

The form includes two required fields that must be set:

  • Video source URL (link to the video file)
  • Player dimensions (width and height)

Many other configurable parameters are supported by FMP. However only the values listed above are required; the other parameters are either optional or populated with default values. The embed code will be generated correctly as long as you provide the video's URL and dimensions of the player.

Two tabs appear along the top of the Flash Media Playback Setup page:

  • Player (selected by default)
  • Advanced

To learn more about these options, see the documentation:

  • Using Flash Media Playback and Strobe Media Playback (PDF, 530 KB)

Manually edited embed code

If you are familiar with HTML code, you can manually edit the FMP embed code rather than copying the code from the Flash Media Playback Setup page. You can use any text editor to update the embed code. If desired, you can begin by pasting some existing embed code and then editing it; you can also hand type the embed code from scratch.

Note: If the hand-coded embed code contains errors due to typing mistakes, the player may not load and the video may not play. Since code errors can be difficult to resolve, manual editing is recommended only if you have experience troubleshooting HTML code. An HTML editor such as Adobe Dreamweaver CS5 can be helpful when editing the code manually.

Demo: Flash Media Playback video player

fmp_intro_using_fmp_setup_page Flash Media Playback video player demo

This presentation walks you through the simple basics of getting the HTML embed code for the Flash Media Playback video player and pasting it into a finished web page.

Flash Media Playback support

In addition to the full documentation for Flash Media Playback, Adobe maintains a support forum. FMP users can access this resource to get answers and learn best practices. Visit the Flash Media Playback forum to participate with the community and ask questions about FMP.

Advanced video player options beyond Flash Media Playback

FMP is a great out-of-the-box video player solution. It's easy to implement and supports various customizations to change the player's appearance. The Strobe Media Playback (SMP) is another solution you can try.

FMP and SMP are substantially the same—both support the same methods for configuration and skinning. However, FMP does not include the following two features that are available when working with SMP:

  • Freedom to host the player on any web server
  • Access to player source code

Although SMP enables you to host the player on any web server, this freedom comes with a downside: the inability to use Flash Player caching. The first time any visitor loads a web page that includes FMP, FMP is downloaded and stored in their computer's Flash Player cache (using a special, signed file with a SWZ file extension). From then on, whenever the visitor accesses other pages that use FMP, FMP loads very quickly because it is already installed on their computer. As a result of Flash Player caching, first time viewing of videos is faster with FMP than with SMP.

Because SMP is an open-source project, and the source code is available, organizations with experienced ActionScript programmers can extend the code and customize their players in many ways that are not available when using the standard FMP player provided by Adobe.

For video and media players requiring even more customization, developers can leverage the powerful Open Source Media Framework (OSMF). Both FMP and SMP are built on top of OSMF. There is continuous development being performed on OSMF—and as OSMF gains new features, they will be available in future releases of both FMP and SMP.

For more information about OSMF, visit OSMF.org. Also read my article titled Open Source Media Framework: Introduction and Overview.

Where to go from here

Adobe Creative Suite 5 applications include many additional options for displaying video on the web. For example, Adobe Flash Professional CS5 includes an easy-to-use video playback component called the FLVPlayback component, and Dreamweaver CS5 provides a helpful user interface to insert FLV video files in HTML pages. For more information about these options see the following articles:

  • Getting started with the ActionScript 3 FLVPlayback component
  • Adding video to a web page

Also refer to the Video Technology Center and Video Learning Guide for Flash to get more details about preparing, encoding, and publishing video content online.

More Like This

  • XMP metadata in Creative Suite 4 Production Premium
  • Open Source Media Framework: Introduction and overview
  • Understanding the MPEG-4 movie atom
  • 测量Flash的视频消费行为
  • Understanding the video encoding ecosystem for Flash
  • 根据视频播放器的需求扩展OSMF
  • An opinionated guide to online digital video and audio resources

产品

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • 移动应用程序
  • Photoshop
  • Touch Apps

解决方案

  • 数字营销
  • 数字媒体
  • 网页体验管理

行业

  • 教育
  • 金融服务业
  • 政府部门

帮助

  • 产品帮助中心
  • 订货和退货
  • 下载和安装
  • 我的 Adobe

学习

  • Adobe 开发人员连接
  • Adobe TV
  • 培训和认证
  • 论坛
  • 设计中心

购买方式

  • 在线商店
  • 批量许可
  • 查找经销商

下载

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

公司

  • 新闻编辑室
  • 合作伙伴计划
  • 公司社会责任
  • 工作机会
  • 投资者关系
  • 事件
  • 法律
  • 安全
  • 联系 Adobe
选择您的地区 中国(更改)
选择您的地区 关闭

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

使用条款 | 隐私政策和 Cookies (更新)

京 ICP 备 10217899 号 京公网安备 110105010404