[Tizen-submit] 17929: Changes to Tizen:IVI:Release/MediaPlayer

noreply at tizen.org noreply at tizen.org
Mon Nov 18 21:16:06 GMT 2013


Hi,
brianjjones have made the following changes to MediaPlayer in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #17929

  submit:       Tizen:IVI:Release:build/MediaPlayer(cleanup) -> Tizen:IVI:Release


Message:
Submitter: brianjjones <brian.j.jones at intel.com>
Comments: Fix for showing elapsed time bar on video screen
Git project: profile/ivi/MediaPlayer
Tag: submit/tizen/20131118.211710
Commit: 991bdbce1c22acdb3818bb5ebf1b56345dd721d3 Fix for showing elapsed time bar on video screen

State:   new        2013-11-18T21:14:59 tizenrobot
Comment: <no comment>
changes files:
--------------
--- MediaPlayer.changes
+++ MediaPlayer.changes
@@ -0,0 +1,6 @@
+* Mon Nov 18 2013 brianjjones <brian.j.jones at intel.com> submit/tizen/20131115.213224 at f4bb5fa
+- Fix for showing elapsed time bar on video screen
+
+* Thu Nov 14 2013 brianjjones <brian.j.jones at intel.com> accepted/tizen/20131015.185352 at dcea024
+- Adding current track time to the metadata output
+

spec files:
-----------
--- MediaPlayer.spec
+++ MediaPlayer.spec
@@ -1,8 +1,8 @@
 Name:       MediaPlayer
+VCS:        profile/ivi/MediaPlayer#991bdbce1c22acdb3818bb5ebf1b56345dd721d3
 Summary:    A HTML media player application
 Version:    0.0.1
 Release:    1
-VCS:        profile/ivi/MediaPlayer#submit/tizen/20131015.175409-0-gd76e369374ca1bae63bf2de4fa541f4693a33adf
 Group:      Applications/System
 License:    Apache 2.0
 URL:        http://www.tizen.org2

other changes:
--------------

++++++ MediaPlayer-0.0.1.tar.bz2
--- css/main.css
+++ css/main.css
@@ -126,6 +126,11 @@
 	display:none;
 }
 
+#trackTime
+{
+	display:none;
+}
+
 #audioPlayer
 {
 	position:absolute;
--- index.html
+++ index.html
@@ -73,6 +73,6 @@
 			</div>
 
 		<canvas id="mediaName" style="position:absolute; z-index : 0"></canvas>
-
+		<canvas id="trackTime" style="position:absolute; z-index : 0"></canvas>
 	</body>
 </html>
--- js/audioPlayer.js
+++ js/audioPlayer.js
@@ -7,12 +7,19 @@
  *
  */
 
+var mainArtistText;
+var songDurationSec;
+
 AudioPlayer = function()
 {
 	this.clearAudioTimeInterval = undefined;
 	this.currentAudioContent = undefined;
 }
 
+/*
+ * Play function for when play button is clicked
+ */
+
 AudioPlayer.prototype.play = function()
 {
 	console.log("MediaPlayer in AudioPlayer::play");
@@ -30,6 +37,7 @@
 				var timeoutFunction = function()
 				{
 					localStorage.prevAudioTime = this.playerControls.currentTime;
+					this.updateTrackTime();
 				}
 
 				this.clearAudioTimeInterval = setInterval(timeoutFunction.bind(this),500);
@@ -40,6 +48,10 @@

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list