But relative to what? in 2.3.8 it was relative to public. I have tried
placing it relative public and app/asset. Neither seems to work.
The generated html is
<script type="text/javascript">
var flashvars_jw_player =
{"bufferlength":1,"autostart":false,
"file":"/videolib/UltraDedup-Decision-Information-058.flv"};
var params_jw_player =
{"allowfullscreen":true,"allowscriptaccess":"always"};
var attributes_jw_player = {"id":"jw_player","name":"jw_player"};
swfobject.embedSWF('/swf/player.swf',
'jw_player','100%','300','9','false',
flashvars_jw_player, params_jw_player,
ttributes_jw_player)
</script>
Is there a sample Rails 3.1 app that uses jw_player_helper?
- - -
Part of what I am trying to do is get the app ready to be hosted by
Heroku. I have about a gigabyte of videos and I remember reading that
that much stuff should be "provisioned", whatever that means. How will
I change the name supplied to video_player (the method name in
jw_player_helper)?
Yeah, I don't think you can even deploy that large an app (with those
videos embedded) to heroku.
Move them to an external service like Amazon S3. It may take a little
work up front, but in return
1) You'll be able to use heroku
2) On any platform, deployment will be *much* faster
3) You'll probably find performance improves (my experience w/
moving some large product images to S3)