변경사항 비교

HTML5 audio and video in Firefox

변경 사항 278519:

변경 사항 278519 제공자: erling.rosag 수정일:

변경 사항 279765:

변경 사항 279765 제공자: AliceWyman 수정일:

키워드:

ogg theora vorbis Opus vp8 webm open
ogg theora vorbis Opus vp8 webm open

검색 결과 요약

Firefox can handle audio and video content on web pages and can open some media files. Learn about supported formats and managing playback.
Firefox can handle audio and video content on web pages and can open some media files. Learn about supported formats and managing playback.

내용:

Firefox handles many types of audio and video content on web pages, and can also open links to MP3 files and some other types of media. This article explains which media formats you can play and how to control, save, and open them. __TOC__ = Supported formats = Since the use of certain audio and video file types is restricted by patents, a third-party application is required to use them. Firefox, however, is able to play natively open media{for win,mac} and some types of patented media{/for}. == Open media == Firefox can play the [http://en.wikipedia.org/wiki/WAV WAV] [http://en.wikipedia.org/wiki/Digital_container_format container format] (.wav, .wave file types) containing uncompressed audio in [http://en.wikipedia.org/wiki/Linear_pulse_code_modulation PCM] at 8 or 16 bits per sample.<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=524109 --> [http://en.wikipedia.org/wiki/Vorbis Vorbis audio], [http://en.wikipedia.org/wiki/Opus_%28audio_format%29 Opus audio], [http://en.wikipedia.org/wiki/Theora Theora video], and [http://en.wikipedia.org/wiki/VP8 VP8 video] are free [http://en.wikipedia.org/wiki/Data_compression#Audio audio]/[http://en.wikipedia.org/wiki/Data_compression#Video video compression] formats for use without patent restrictions. They can be viewed in Firefox if they are embedded in the following [http://en.wikipedia.org/wiki/Digital_container_format container formats]: [http://en.wikipedia.org/wiki/Ogg Ogg] (.ogg, .oga, .ogv, .ogx, .spx, .opus file types) or [http://en.wikipedia.org/wiki/WebM WebM] (.webm file type). Firefox also supports [https://en.wikipedia.org/wiki/FLAC FLAC] (Free Lossless Audio Codec) playback (.flac file type) and [https://en.wikipedia.org/wiki/MP3 MP3] playback (.mp3 file type). {for win,mac} == Patented media == [http://en.wikipedia.org/wiki/Advanced_Audio_Coding AAC] and [http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC H.264/MPEG-4 AVC] are patented [http://en.wikipedia.org/wiki/Data_compression#Audio audio]/[http://en.wikipedia.org/wiki/Data_compression#Video video compression] formats. They can be viewed in Firefox using built-in OS libraries (so neither Mozilla nor you need to pay a fee) if embedded in the [http://en.wikipedia.org/wiki/MPEG-4_Part_14 MP4] [http://en.wikipedia.org/wiki/Digital_container_format container format] (.mp4, .m4a, .m4p, .m4b, .m4r, .m4v file types). {/for} {note} Firefox supports WebM/VP9 video on systems that don't support MP4/H.264. '''Tip:''' In order to test your system, some sample video files are available in the [http://camendesign.com/code/video_for_everybody/test.html “Video For Everybody” Test Page] at camendesign.com. {/note} = Audio and video controls = == Control bar == When you follow a link to open a supported audio or video file in Firefox or when you visit a website that includes supported media, you will see controls for managing playback. Controls for video will appear when you hold the mouse pointer over the media on the page. [[Image:Fx124Win10VideoControls]] * '''Play button''': [[Image:Fx124Win10VideoPlay]] Starts playback. * '''Pause button''': [[Image:Fx124Win10VideoPause]] Stops playback once it has started. * '''Position slider''': [[Image:Fx124Win10VideoPositionSlider]]<br>Indicates how much time has elapsed since the beginning of the file.<br>Drag the slider left or right to go back or forward. * '''Volume control''': [[Image:Fx124Win10VideoSoundSlider]]<br>Click on the loudspeaker to mute or unmute.<br>Hover and drag the slider up or down to adjust the volume. * '''Full-screen button''': [[Image:Fx124Win10VideoFullscreen]] Toggles full screen when in default size. * '''Default size button''': [[Image:Fx124Win10VideoDefaultSize]] Restores the default size when in fullscreen. == Context menu controls == The context menu (accessible via {for win,linux}right-click{/for}{for mac}Ctrl-click{/for}) includes the above controls except the sliders, and also let you: * '''Accelerate or reduce the playback rate''': Select {menu Play Speed} and then one of the available speeds. * '''Play video over and over''': Select {menu Loop} so that the video will play over and over automatically. * '''Hide controls''': Select {menu Hide Controls} so that the bottom control bar never show up. To show them, select {menu Show Controls}. == Keyboard controls == After you click on the media on a web page, to give it focus, you can control the playback with your keyboard. {| !Command !Shortcut |- |Toggle Play / Pause |{key Space bar} |- |Decrease volume |{key &#8595;} |- |Increase volume |{key &#8593;} |- |Mute audio |{for win,linux}{key Ctrl+&#8595;}{/for}{for mac}{key command+&#8595;}{/for} |- |Unmute audio |{for win,linux}{key Ctrl+&#8593;}{/for}{for mac}{key command+&#8593;}{/for} |- |Seek back 5 seconds |{key &#8592;} |- |Seek back 10 % |{for win,linux}{key Ctrl+&#8592;}{/for}{for mac}{key command+&#8592;}{/for} |- |Seek forward 5 seconds |{key &#8594;} |- |Seek forward 10 % |{for win,linux}{key Ctrl+&#8594;}{/for}{for mac}{key command+&#8594;}{/for} |- |Seek to the beginning |{key Home} |- |Seek to the end |{key End} |} = Saving media files = To save an audio file from a web page to your computer: # [[T:contextmenu]] on the audio controls and select {menu Save Audio As…}. # Select a location on your computer to save the file. To save a video file from a web page to your computer: # [[T:contextmenu]] on the video controls and select {menu Save Video As…}. #* Select {menu Save Snapshot As…} if you only want to save the video snapshot. # Select a location on your computer to save the file. = Opening saved files = The media files you save from web pages may not play in your normal media player. To open these types of files: # Open Firefox. # Click {for win,linux}{key Ctrl+O}{/for}{for mac}{key command+O}{/for}. # Navigate to the folder that contains the file you want to play, select the file, and click {button Open}. = Troubleshooting = If you are having problems with audio or video files, see: * [[Fix common audio and video issues]] * [[What to do if Firefox won't play any sounds]]
Firefox handles many types of audio and video content on web pages, and can also open links to MP3 files and some other types of media. This article explains which media formats you can play and how to control, save, and open them. __TOC__ = Supported formats = Since the use of certain audio and video file types is restricted by patents, a third-party application is required to use them. Firefox, however, is able to play natively open media{for win,mac} and some types of patented media{/for}. == Open media == Firefox can play the [http://en.wikipedia.org/wiki/WAV WAV] [http://en.wikipedia.org/wiki/Digital_container_format container format] (.wav, .wave file types) containing uncompressed audio in [http://en.wikipedia.org/wiki/Linear_pulse_code_modulation PCM] at 8 or 16 bits per sample.<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=524109 --> [http://en.wikipedia.org/wiki/Vorbis Vorbis audio], [http://en.wikipedia.org/wiki/Opus_%28audio_format%29 Opus audio], [http://en.wikipedia.org/wiki/Theora Theora video], and [http://en.wikipedia.org/wiki/VP8 VP8 video] are free [http://en.wikipedia.org/wiki/Data_compression#Audio audio]/[http://en.wikipedia.org/wiki/Data_compression#Video video compression] formats for use without patent restrictions. They can be viewed in Firefox if they are embedded in the following [http://en.wikipedia.org/wiki/Digital_container_format container formats]: [http://en.wikipedia.org/wiki/Ogg Ogg] (.ogg, .oga, .ogv, .ogx, .spx, .opus file types) or [http://en.wikipedia.org/wiki/WebM WebM] (.webm file type). Firefox also supports [https://en.wikipedia.org/wiki/FLAC FLAC] (Free Lossless Audio Codec) playback (.flac file type) and [https://en.wikipedia.org/wiki/MP3 MP3] playback (.mp3 file type). {for win,mac} == Patented media == [http://en.wikipedia.org/wiki/Advanced_Audio_Coding AAC] and [http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC H.264/MPEG-4 AVC] are patented [http://en.wikipedia.org/wiki/Data_compression#Audio audio]/[http://en.wikipedia.org/wiki/Data_compression#Video video compression] formats. They can be viewed in Firefox using built-in OS libraries (so neither Mozilla nor you need to pay a fee) if embedded in the [http://en.wikipedia.org/wiki/MPEG-4_Part_14 MP4] [http://en.wikipedia.org/wiki/Digital_container_format container format] (.mp4, .m4a, .m4p, .m4b, .m4r, .m4v file types). {/for} {note} Firefox supports WebM/VP9 video on systems that don't support MP4/H.264. '''Tip:''' In order to test your system, some sample video files are available in the [https://tekeye.uk/html/html5-video-test-page HTML5 Video Test Page] at [https://tekeye.uk/ tekeye.uk] {/note} = Audio and video controls = == Control bar == When you follow a link to open a supported audio or video file in Firefox or when you visit a website that includes supported media, you will see controls for managing playback. Controls for video will appear when you hold the mouse pointer over the media on the page. [[Image:Fx124Win10VideoControls]] * '''Play button''': [[Image:Fx124Win10VideoPlay]] Starts playback. * '''Pause button''': [[Image:Fx124Win10VideoPause]] Stops playback once it has started. * '''Position slider''': [[Image:Fx124Win10VideoPositionSlider]]<br>Indicates how much time has elapsed since the beginning of the file.<br>Drag the slider left or right to go back or forward. * '''Volume control''': [[Image:Fx124Win10VideoSoundSlider]]<br>Click on the loudspeaker to mute or unmute.<br>Hover and drag the slider up or down to adjust the volume. * '''Full-screen button''': [[Image:Fx124Win10VideoFullscreen]] Toggles full screen when in default size. * '''Default size button''': [[Image:Fx124Win10VideoDefaultSize]] Restores the default size when in fullscreen. == Context menu controls == The context menu (accessible via {for win,linux}right-click{/for}{for mac}Ctrl-click{/for}) includes the above controls except the sliders, and also let you: * '''Accelerate or reduce the playback rate''': Select {menu Play Speed} and then one of the available speeds. * '''Play video over and over''': Select {menu Loop} so that the video will play over and over automatically. * '''Hide controls''': Select {menu Hide Controls} so that the bottom control bar never show up. To show them, select {menu Show Controls}. == Keyboard controls == After you click on the media on a web page, to give it focus, you can control the playback with your keyboard. {| !Command !Shortcut |- |Toggle Play / Pause |{key Space bar} |- |Decrease volume |{key &#8595;} |- |Increase volume |{key &#8593;} |- |Mute audio |{for win,linux}{key Ctrl+&#8595;}{/for}{for mac}{key command+&#8595;}{/for} |- |Unmute audio |{for win,linux}{key Ctrl+&#8593;}{/for}{for mac}{key command+&#8593;}{/for} |- |Seek back 5 seconds |{key &#8592;} |- |Seek back 10 % |{for win,linux}{key Ctrl+&#8592;}{/for}{for mac}{key command+&#8592;}{/for} |- |Seek forward 5 seconds |{key &#8594;} |- |Seek forward 10 % |{for win,linux}{key Ctrl+&#8594;}{/for}{for mac}{key command+&#8594;}{/for} |- |Seek to the beginning |{key Home} |- |Seek to the end |{key End} |} = Saving media files = To save an audio file from a web page to your computer: # [[T:contextmenu]] on the audio controls and select {menu Save Audio As…}. # Select a location on your computer to save the file. To save a video file from a web page to your computer: # [[T:contextmenu]] on the video controls and select {menu Save Video As…}. #* Select {menu Save Snapshot As…} if you only want to save the video snapshot. # Select a location on your computer to save the file. = Opening saved files = The media files you save from web pages may not play in your normal media player. To open these types of files: # Open Firefox. # Click {for win,linux}{key Ctrl+O}{/for}{for mac}{key command+O}{/for}. # Navigate to the folder that contains the file you want to play, select the file, and click {button Open}. = Troubleshooting = If you are having problems with audio or video files, see: * [[Fix common audio and video issues]] * [[What to do if Firefox won't play any sounds]]

뒤로 가기