I am using ffmpeg to post video to my site in a modal. When I post I have a second pop up window opening where the video should be uploaded and processed while showing a progress bar. This enables my users to continue using the site while the video is processed and they will receive a notification when its done. The files and parameters are not being transferred from the modal to the second pop up window. I am using quite a bit of javascript between the modal, opening the pop-up and polling the updates to the pop up window. Specifically I''m using query. Regards, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hHGP2JUhc4gJ. For more options, visit https://groups.google.com/groups/opt_out.
On 8 February 2013 17:23, RR <berkeleyandstclair-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am using ffmpeg to post video to my site in a modal. When I post I have a > second pop up window opening where the video should be uploaded and > processed while showing a progress bar. This enables my users to continue > using the site while the video is processed and they will receive a > notification when its done. The files and parameters are not being > transferred from the modal to the second pop up window. I am using quite a > bit of javascript between the modal, opening the pop-up and polling the > updates to the pop up window. Specifically I''m using query.Nobody is going to have any chance of helping unless you show the code that is failing. First, however, debug in to find the bit that is failing. If you have to post more than twenty lines of code you have not done enough debugging. If you don''t know how to do this have a look at the Rails Guide on debugging that will show you some techniques. Note though that this is a Rails list, so if the problem is a javascript/jquery issue rather than Rails this may not be the best place to ask. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Feb 8, 2013, at 12:23 PM, RR wrote:> I am using ffmpeg to post video to my site in a modal. When I post I have a second pop up window opening where the video should be uploaded and processed while showing a progress bar. This enables my users to continue using the site while the video is processed and they will receive a notification when its done. The files and parameters are not being transferred from the modal to the second pop up window. I am using quite a bit of javascript between the modal, opening the pop-up and polling the updates to the pop up window. Specifically I''m using query. > > Regards, >I don''t think you can transfer the target of a post like that, at least not after it has been initiated. What you can do is initiate the post into the popup window (create that window, wait some number of milliseconds, then send the post), either in the main page of the daughter window or an iframe within it, and then do your polling in another frame in that daughter window. That would leave your main page free to navigate elsewhere while the file was uploading. Walter> > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hHGP2JUhc4gJ. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.