When running in development env, I don't have this problem, only in
production...
I have a view in which a js script display a FlowPlayer video player
(+ plugins)...
the flash files are located in the /public/dist folder, ant the
script calls them like that :
<script>
$f("player", "/dist/flowplayer-3.1.5.swf", {
plugins: {
rtmp: {
url: "/dist/flowplayer.rtmp-3.1.3.swf"
}
openAdStreamer: {
url: '/dist/OpenAdStreamer.swf',
..
how should I write the url to work both in dev and prod modes ?
thanks for your help
erwin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment