Hi !

1) Why this <?php> tags ? I assume Mako silently drop them but it may
be a source of your
problem. Mako understand Python, i am not sure is clever enough to
understand Php.
(You do not seem to have php code in your page anyway)

2) Apart of this Php tags you do not have Python code too but only
plain Html and Javascript code, so
normally as Mike already say to you, you can tests your page even
without Pylons, by opening directly
the page file in your browser.

3) i have never use flash to play video, but why do you try to play
two different videos in the same player ?
I asume your are trying to do this :
http://www.longtailvideo.com/support/jw-player/13/embedding-flash#The_Object/Embed_Method
But you try to display two different video address from Youtube.
-> Try first your code with one of your own locale file.
-> Try cut-&-paste the code provided by Youtube with the "Embed" link.

4) Alternately i find your double form strange too.
- Why two forms with javascript to communicate between  them ? One
plain form with a submit button may be enough.
- If you need to know the refer page later in your controller you can
probably have it from request.refer (No need
of javascript for this).

On 10 nov, 08:19, Игнат Воробьёв <[email protected]> wrote:
> On Nov 10, 3:23 am, Mike Orr <[email protected]> wrote:
>
>
>
> > On Tue, Nov 9, 2010 at 3:18 PM, [email protected]
>
> > <[email protected]> wrote:
> > > Are you embedding a video from another site (i.e. Youtube) or are you 
> > > using
> > > your own files, with a flash player (like JW Player), which is then being
> > > loaded from your public folder? And could you share some of the Mako
> > > template code?
>
> > > On Tue, Nov 9, 2010 at 5:17 PM, Игнат Воробьёв <[email protected]>
> > > wrote:
>
> > >> Hello everybody! I`m have this problem:
> > >> when i request the localhost:5000 i`m recive the video player which
> > >> embded in index.html(and this work very well) but if i try to generate
> > >> the template(now it is index.html) in my controller i recieve flash
> > >> player but video no load? why? all player`s files i paste in every
> > >> directory in my app!(in my mind it`s because of mako!!!!)
> > >> please give me simple note to solve this problem, because i`m newbie
> > >> in pylons!
> > >> sorry for my english
>
> > Yes, this is too vague to troubleshoot. Most Pylons apps don't have
> > flash players so we don't know how you've configured it.
>
> > As for whether Mako is involved, you can rule that out by doing "view
> > source" in the browser and seeing if the HTML/Javascript is as
> > expected. They try viewing a static file from the public directory and
> > see if it works. If those are all OK, Mako is not the culprit. If
> > you're on Firefox, you can also install the Live HTTP Headers plugin,
> > which will tell you if there are any abnormalities in how the URLs are
> > being served, or if one of them is 404 Not Found or 300 Forbidden.
>
> > --
> > Mike Orr <[email protected]>
>
> sequence of my actions is:
> 1. i`m request localhost:5000 and can see the movie on
> page(index.html) sourse code herehttp://pastebin.ru/315511
> 2. in the text field on this page enter text and push button which
> recalls my controller(execution logic) and this controller return
> render(../index.html) which is located in public directory! source
> code referring to the player not changed!!! but movie don`t want to
> load in player!
> 3. why pylons can not load the video in the player
> please help me I suffer for two days with this problem

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to