Hi, Yes, <video src="_static/yoga.mp4"> is specified with relative path. Because sphinx don't know the video tag in the raw directive, you need specify the correct location by hand.
And I put 'yoga.mp4' into _static directory because _static directory will be copied into _build/html/_static directory. Regards, -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2014-09-15 21:29 GMT+09:00 Nils Wagner <[email protected]>: > Hi, > > I have still some trouble. The video is not copied into the corresponding > directory within build/html directory. > Is the path to yoga.mp4 a relative path ? Why do I need _static ? > > Any idea ? > > Cheers, > Nils > > > On Mon, Sep 15, 2014 at 2:13 PM, Takayuki Shimizukawa > <[email protected]> wrote: >> >> Hi Nils, >> >> 2014-09-15 20:36 GMT+09:00 [email protected] >> <[email protected]>: >> > Hi, >> > >> > I have successfully installed sphinxcontrib-youtube. It works fine for >> > me ! >> > >> > However, I am mainly interested in the second approach, >> > Please can you provide a working example how to handle local video files >> > ? >> >> I'm not familiar to HTML5, but it works for me: >> >> .. raw:: html >> >> <video controls src="_static/yoga.mp4"></video> >> >> >> > Thanks in advance. >> > >> > Regards, >> > Nils >> >> Regards, >> -- >> Takayuki SHIMIZUKAWA >> http://about.me/shimizukawa >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sphinx-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sphinx-users/_z00m3zoRAY/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sphinx-users. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
