<font class="fontSize">
<p>Test Purpose: </p>
<p>Verifies the video playback of 3GP and MP4 files works correctly. And tests the functionality of playback operations including play and pause, volume up and down, time bar sliding forward and backward, full screen and normal screen switching, device rotate, foreground and background switching on every video files.</p>
+ <p>Note: Press back key to exit fullscreen</p>
<p>Expected Result: </p>
<p>Test passes if all the check points work well during the video playback.</p>
</font>
DisablePassButton();
});
+function exitFullscreen() {
+ var de = document;
+ if (de.exitFullscreen) {
+ de.exitFullscreen();
+ } else if (de.mozCancelFullScreen) {
+ de.mozCancelFullScreen();
+ } else if (de.webkitCancelFullScreen) {
+ de.webkitCancelFullScreen();
+ }
+}
+
+window.onload = function() {
+ // add eventListener for tizenhwkey
+ document.addEventListener('tizenhwkey', function(e) {
+ if (e.keyName === "back") {
+ try {
+ exitFullscreen();
+ } catch (ignore) {}
+ }
+ });
+};
+
function Previous() {
testTarget=document.getElementById("MediaPlayback");
var fileName = getFileName(testTarget.src);
Authors:
Lin, Wanming <wanmingx.lin@intel.com>
-
+ Zhongyuan Yuan <zy123.yuan@samsung.com>
-->
<html>
<head>
<div data-role="popup" id="popup_info">
<font class="fontSize">
<p>Test Purpose: </p>
- <p>Verifies the video playback of 3GP and MP4 files works correctly. And tests the functionality of playback operations including play and pause, volume up and down, time bar sliding forward and backward, full screen and normal screen switching on every video files.</p>
+ <p>Verifies the video playback of 3GP and MP4 files works correctly. And tests the functionality of playback operations including play and pause, volume up and down, time bar sliding forward and backward, full screen and normal screen switching, device rotate, foreground and background switching on every video files.</p>
+ <p>Note: Press back key to exit fullscreen</p>
<p>Expected Result: </p>
<p>Test passes if all the check points work well during the video playback.</p>
</font>
DisablePassButton();
});
+function exitFullscreen() {
+ var de = document;
+ if (de.exitFullscreen) {
+ de.exitFullscreen();
+ } else if (de.mozCancelFullScreen) {
+ de.mozCancelFullScreen();
+ } else if (de.webkitCancelFullScreen) {
+ de.webkitCancelFullScreen();
+ }
+}
+
+window.onload = function() {
+ // add eventListener for tizenhwkey
+ document.addEventListener('tizenhwkey', function(e) {
+ if (e.keyName === "back") {
+ try {
+ exitFullscreen();
+ } catch (ignore) {}
+ }
+ });
+};
+
function Previous() {
testTarget=document.getElementById("MediaPlayback");
var fileName = getFileName(testTarget.src);
<div class="fontSize">
<p>Test Purpose: </p>
<p>Verifies the video playback of 3GP and MP4 files works correctly. And tests the functionality of playback operations including play and pause, volume up and down, time bar sliding forward and backward, full screen and normal screen switching on every video files.</p>
+ <p>Note: Press back key to exit fullscreen</p>
<p>Expected Result: </p>
<p>Test passes if all the check points work well during the video playback.</p>
</div>
DisablePassButton();
});
+function exitFullscreen() {
+ var de = document;
+ if (de.exitFullscreen) {
+ de.exitFullscreen();
+ } else if (de.mozCancelFullScreen) {
+ de.mozCancelFullScreen();
+ } else if (de.webkitCancelFullScreen) {
+ de.webkitCancelFullScreen();
+ }
+}
+
+window.onload = function() {
+ // add eventListener for tizenhwkey
+ document.addEventListener('tizenhwkey', function(e) {
+ if (e.keyName === "back") {
+ try {
+ exitFullscreen();
+ } catch (ignore) {}
+ }
+ });
+};
+
function Previous() {
var fileName, i;
testTarget = document.getElementById("MediaPlayback");