raydash 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme +1 -1
- data/lib/app/helpers/raydash_helper.rb +1 -1
- data/lib/raydash/version.rb +1 -1
- data/lib/raydash.rb +1 -1
- metadata +5 -5
data/Readme
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
== Introduction
|
2
2
|
|
3
3
|
Raydash allows you to easily integrate live video and/or audio into your
|
4
|
-
Rails applications. You will need a userid and secret to access Raydash's servers. This can be obtained by signing up for the beta at http://www.raydash.com. Next, you will follow the instructions below. You will be using helpers to embed videostream and videorecord flash objects into your application for playing and recording real-time audio and/or video.
|
4
|
+
Rails applications. Your server will need to be able to make outgoing connections api.raydash.com on port 8080. You will need a userid and secret to access Raydash's servers. This can be obtained by signing up for the beta at http://www.raydash.com. Next, you will follow the instructions below. You will be using helpers to embed videostream and videorecord flash objects into your application for playing and recording real-time audio and/or video.
|
5
5
|
|
6
6
|
== Quickstart
|
7
7
|
|
@@ -8,6 +8,6 @@ module RaydashHelper
|
|
8
8
|
end
|
9
9
|
# This element sends video/audio to the server
|
10
10
|
def videorecord(token, id,width="640",height="480",hideCamera="0",videoOff="0")
|
11
|
-
javascript_tag("swfobject.embedSWF(\"/swfs/raydash/RecordBox.swf\", \"#{id}\",#{width},#{height},\"9.0.0\",\"http://www.adobe.com/products/flashplayer/download\",{hideControls:1,hideCamera:\"#{hideCamera}\",autostart:1,token:\"#{token}\",videoOff:\"#{videoOff}\"})") + content_tag(:div, "Video stream not available", :id => id)
|
11
|
+
javascript_tag("function setSize(width,height,id) {if(id==undefined){id=\"#{id}\"; }document.getElementById(id).width=width;document.getElementById(id).height=height;} swfobject.embedSWF(\"/swfs/raydash/RecordBox.swf\", \"#{id}\",#{width},#{height},\"9.0.0\",\"http://www.adobe.com/products/flashplayer/download\",{hideControls:1,hideCamera:\"#{hideCamera}\",autostart:1,token:\"#{token}\",videoOff:\"#{videoOff}\"});") + content_tag(:div, "Video stream not available", :id => id)
|
12
12
|
end
|
13
13
|
end
|
data/lib/raydash/version.rb
CHANGED
data/lib/raydash.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raydash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gershon Bialer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-25 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|