HTML5 Video How-To

Alex Libby

  • 出版商: Packt Publishing
  • 出版日期: 2012-09-28
  • 售價: $1,000
  • 貴賓價: 9.5$950
  • 語言: 英文
  • 頁數: 80
  • 裝訂: Paperback
  • ISBN: 1849693641
  • ISBN-13: 9781849693646
  • 相關分類: HTML
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Over 20 practical, hands-on recipes to encode and display videos in the HTML5 video standard

  • Encode and embed videos into web pages using the HTML5 video standard
  • Publish videos to popular sites, such as YouTube or VideoBin
  • Provide cross-browser support for HTML5 videos and create your own custom video player using jQuery

In Detail

Publishing videos online has been around for a number of years, although has really taken off with the advent of video sharing sites such as YouTube. The power of video is huge if done well; it can present a lot of information in a more visually engaging manner than using written text and pictures. Done badly though – it can present real problems to the company or individual hosting the video, that have the potential to cause some real harm!

"HTML5 Video How-To" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the real power that is behind HTML5 video, and give you a good grounding in using it in your web pages.

This book looks at the HTML5 video formats available, and breaks down the mystery and confusion that surrounds which format to use. It will take you through a number of clear, practical recipes that will help you to take advantage of the new HTML5 video standard, quickly and painlessly.

You will also learn how to build your own video player using jQuery, or by using one of the pre-built libraries available. We will also take a look at adding functionality such as lightbox effects, or subtitles, as well as how to publish videos to popular hosting sites, such as YouTube or VideoBin. If you want to take advantage of using the new HTML5 video format, then this is the book for you.

You will learn everything you need to know to convert videos into the right format, as well as how to display them in your browser or web pages, across multiple platforms.

What will you learn from this book

  • Converting videos into a valid HTML5 format
  • Setting up playback support for videos from within your web pages or browser
  • Embedding videos using the HTML5 standard
  • Publishing videos to popular hosting sites, such as YouTube or VideoBin
  • Setting up fall-back support for older browsers
  • Support for cross-browser playback, using a HTML5 polyfill
  • Building your own custom video player using jQuery
  • Creating a theme for use with your video player
  • Adding subtitles to your video
  • Presenting videos using a "lightbox" effect

Approach

This book takes the How-to series approach to help you learn most important tasks through recipes

Who this book is written for

This book is great for developers new to the HTML5 Video standard, and who are looking to get a good grounding in how to use the new format. It's assumed that you will have some experience in HTML and jQuery already, as well as being familiar with embedding videos using current "old school" methods, such as Windows Media Player. Readers are expected to have one or more videos available, which will be used during the exercises within this book.

商品描述(中文翻譯)

超過 20 個實用的實作食譜,用於編碼和顯示符合 HTML5 視頻標準的視頻

- 使用 HTML5 視頻標準編碼並嵌入視頻到網頁中
- 將視頻發布到流行網站,如 YouTube 或 VideoBin
- 提供 HTML5 視頻的跨瀏覽器支援,並使用 jQuery 創建自己的自訂視頻播放器

詳細內容

在線發布視頻已經存在多年,隨著 YouTube 等視頻分享網站的興起,這一趨勢真正蓬勃發展。若能妥善運用視頻,其威力巨大;它能以更具視覺吸引力的方式呈現大量資訊,超越書面文字和圖片。然而,若處理不當,則可能對承載視頻的公司或個人造成實際問題,甚至帶來真正的傷害!

《HTML5 視頻操作指南》是一本實用的手冊,提供多個清晰的逐步練習,幫助您充分利用 HTML5 視頻背後的真正力量,並為您在網頁中使用它打下良好的基礎。

本書探討可用的 HTML5 視頻格式,並解開有關使用哪種格式的神秘與困惑。它將帶您通過多個清晰、實用的食譜,幫助您快速且輕鬆地利用新的 HTML5 視頻標準。

您還將學會如何使用 jQuery 建立自己的視頻播放器,或使用現有的預建庫。我們還將探討如何添加功能,例如燈箱效果或字幕,以及如何將視頻發布到流行的托管網站,如 YouTube 或 VideoBin。如果您想利用新的 HTML5 視頻格式,那麼這本書就是為您而寫的。

您將學到將視頻轉換為正確格式所需的所有知識,以及如何在多個平台上於瀏覽器或網頁中顯示它們。

您將從本書中學到什麼

- 將視頻轉換為有效的 HTML5 格式
- 在網頁或瀏覽器中設置視頻播放支援
- 使用 HTML5 標準嵌入視頻
- 將視頻發布到流行的托管網站,如 YouTube 或 VideoBin
- 為舊版瀏覽器設置後備支援
- 使用 HTML5 polyfill 支援跨瀏覽器播放
- 使用 jQuery 建立自己的自訂視頻播放器
- 為您的視頻播放器創建主題
- 為您的視頻添加字幕
- 使用「燈箱」效果展示視頻

方法

本書採用操作指南系列的方法,幫助您通過食譜學習最重要的任務。

本書的讀者對象

本書非常適合對 HTML5 視頻標準不熟悉的開發者,並希望獲得如何使用新格式的良好基礎。假設您已經具備一定的 HTML 和 jQuery 經驗,並熟悉使用當前的「舊式」方法(如 Windows Media Player)嵌入視頻。讀者預期擁有一個或多個視頻,這些視頻將在本書的練習中使用。