[Pkg-javascript-commits] [jarisplayer] 16/80: some more code documented
Jonas Smedegaard
dr at jones.dk
Tue May 10 08:45:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository jarisplayer.
commit 82727c65e046a4d866cfee553decc49ad8fd37a6
Author: jgmylm <jgmylm at edf201c3-a14d-0410-a11e-aa85364efa9f>
Date: Thu Mar 11 17:16:27 2010 +0000
some more code documented
git-svn-id: https://jaris.svn.sourceforge.net/svnroot/jaris/trunk@16 edf201c3-a14d-0410-a11e-aa85364efa9f
---
bin/JarisFLVPlayer.swf | Bin 28228 -> 20066 bytes
src/jaris/Version.hx | 4 ++--
src/jaris/utils/Utils.hx | 10 ++++++++++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/bin/JarisFLVPlayer.swf b/bin/JarisFLVPlayer.swf
index ed73c8b..4bfc1db 100644
Binary files a/bin/JarisFLVPlayer.swf and b/bin/JarisFLVPlayer.swf differ
diff --git a/src/jaris/Version.hx b/src/jaris/Version.hx
index e55dda4..4957a70 100644
--- a/src/jaris/Version.hx
+++ b/src/jaris/Version.hx
@@ -27,9 +27,9 @@ package jaris;
*/
class Version
{
- public static var NUMBER:String = "2.0.2";
+ public static var NUMBER:String = "2.0.4";
public static var STATUS:String = "beta";
- public static var DATE:String = "09";
+ public static var DATE:String = "11";
public static var MONTH:String = "03";
public static var YEAR:String = "2010";
}
\ No newline at end of file
diff --git a/src/jaris/utils/Utils.hx b/src/jaris/utils/Utils.hx
index 58e3f7e..e283f76 100644
--- a/src/jaris/utils/Utils.hx
+++ b/src/jaris/utils/Utils.hx
@@ -122,6 +122,11 @@ class Utils
return timeString;
}
+ /**
+ * Converts a given rtmp source to a valid format for NetStream
+ * @param source
+ * @return
+ */
public static function rtmpSourceParser(source:String):String
{
if (source.indexOf(".flv") != -1)
@@ -144,6 +149,11 @@ class Utils
return source;
}
+ /**
+ * Changes a youtube url to the format youtube.com/v/video_id
+ * @param source
+ * @return
+ */
public static function youtubeSourceParse(source:String):String
{
return source.split("watch?v=").join("v/");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jarisplayer.git
More information about the Pkg-javascript-commits
mailing list