diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-27 02:31:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 02:31:24 +0300 |
commit | 980fe00a74a9ad013b945755415ace2e5429c3c2 (patch) | |
tree | a1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/guide/audio_and_video_manipulation | |
parent | 374a039b97a11ee7306539d16aaab27fed66b398 (diff) | |
download | translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2 translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip |
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/guide/audio_and_video_manipulation')
-rw-r--r-- | files/ru/web/guide/audio_and_video_manipulation/index.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/files/ru/web/guide/audio_and_video_manipulation/index.html b/files/ru/web/guide/audio_and_video_manipulation/index.html index 4fafc4e8d9..116ca50d1d 100644 --- a/files/ru/web/guide/audio_and_video_manipulation/index.html +++ b/files/ru/web/guide/audio_and_video_manipulation/index.html @@ -41,7 +41,7 @@ translation_of: Web/Guide/Audio_and_video_manipulation <p>We can set up our video player and <code><canvas></code> element like this:</p> -<pre class="brush: html notranslate"><video id="my-video" controls="true" width="480" height="270" crossorigin="anonymous"> +<pre class="brush: html"><video id="my-video" controls="true" width="480" height="270" crossorigin="anonymous"> <source src="http://jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm" type="video/webm"> <source src="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v" type="video/mp4"> </video> @@ -52,7 +52,7 @@ translation_of: Web/Guide/Audio_and_video_manipulation <p>This code handles altering the frames.</p> -<pre class="brush: js notranslate">var processor = { +<pre class="brush: js">var processor = { timerCallback: function() { if (this.video.paused || this.video.ended) { return; @@ -97,7 +97,7 @@ translation_of: Web/Guide/Audio_and_video_manipulation <p>Когда страница загрузилась осуществите вызов:</p> -<pre class="brush: js notranslate">processor.doLoad()</pre> +<pre class="brush: js">processor.doLoad()</pre> <h4 id="Результат">Результат</h4> @@ -127,19 +127,19 @@ translation_of: Web/Guide/Audio_and_video_manipulation <h4 id="HTML_2">HTML</h4> -<pre class="brush: html notranslate"><video id="my-video" controls +<pre class="brush: html"><video id="my-video" controls src="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v"> </video></pre> <h4 id="JavaScript_2">JavaScript</h4> -<pre class="brush: js notranslate">var myVideo = document.getElementById('my-video'); +<pre class="brush: js">var myVideo = document.getElementById('my-video'); myVideo.playbackRate = 2;</pre> <div class="hidden"> <h6 id="Playable_code">Playable code</h6> -<pre class="brush: html notranslate"><video id="my-video" controls="true" width="480" height="270"> +<pre class="brush: html"><video id="my-video" controls="true" width="480" height="270"> <source src="http://jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm" type="video/webm"> <source src="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v" type="video/mp4"> </video> @@ -152,7 +152,7 @@ var myVideo = document.getElementById('my-video'); myVideo.playbackRate = 2;</textarea> </pre> -<pre class="brush: js notranslate">var textarea = document.getElementById('code'); +<pre class="brush: js">var textarea = document.getElementById('code'); var reset = document.getElementById('reset'); var edit = document.getElementById('edit'); var code = textarea.value; @@ -222,13 +222,13 @@ window.addEventListener('load', setPlaybackRate); <h4 id="HTML_3">HTML</h4> -<pre class="brush: html notranslate"><video id="my-video" controls +<pre class="brush: html"><video id="my-video" controls src="myvideo.mp4" type="video/mp4"> </video></pre> <h4 id="JavaScript_3">JavaScript</h4> -<pre class="brush: js notranslate">var context = new AudioContext(), +<pre class="brush: js">var context = new AudioContext(), audioSource = context.createMediaElementSource(document.getElementById("my-video")), filter = context.createBiquadFilter(); audioSource.connect(filter); @@ -242,7 +242,7 @@ filter.gain.value = 25;</pre> <div class="hidden"> <h6 id="Playable_code_2">Playable code</h6> -<pre class="brush: html notranslate"><video id="my-video" controls="true" width="480" height="270" crossorigin="anonymous"> +<pre class="brush: html"><video id="my-video" controls="true" width="480" height="270" crossorigin="anonymous"> <source src="http://jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm" type="video/webm"> <source src="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v" type="video/mp4"> </video> @@ -255,7 +255,7 @@ filter.type = "lowshelf"; filter.frequency.value = 1000; filter.gain.value = 25;</textarea></pre> -<pre class="brush: js notranslate">var context = new AudioContext(), +<pre class="brush: js">var context = new AudioContext(), audioSource = context.createMediaElementSource(document.getElementById("my-video")), filter = context.createBiquadFilter(); audioSource.connect(filter); @@ -315,7 +315,7 @@ window.addEventListener('load', setFilter); <h4 id="Пример">Пример</h4> -<pre class="brush: js notranslate">var convolver = context.createConvolver(); +<pre class="brush: js">var convolver = context.createConvolver(); convolver.buffer = this.impulseResponseBuffer; // Connect the graph. source.connect(convolver); @@ -330,7 +330,7 @@ convolver.connect(context.destination); <h4 id="Пример_2">Пример</h4> -<pre class="brush: js notranslate">var panner = context.createPanner(); +<pre class="brush: js">var panner = context.createPanner(); panner.coneOuterGain = 0.2; panner.coneOuterAngle = 120; panner.coneInnerAngle = 0; |