Flowplayer Secure Streaming with Apache

假如想象 提交于 2019-11-28 05:08:09

Okay I solved it! In this line:

$streamname = "http://www.mydomain.com/videos/".$streamname; (It's not up there anymore)

I had it all wrong. All I had to do was delete this line and it worked. It will start with your baseUrl. So it was already at the 'videos' folder so the $streamname should equal just the location of the file after the baseUrl.

On a side note, this took me about a week to solve I was looking everywhere on the internet to put the pieces together. I created this into a tutorial so others won't have such a headache (hopefully!)

Took me 2 days to discover this....

If the directory where your videos are stored is CHMOD to 777 then it'll stall the stream...

I went round the houses trying to work out why in hell's name this wouldn't stream my video...

i had an already established directory for video files as used by another popular picture php script which had set that directory to CHMOD 777 during it's time... simply setting it to CHMOD 755 allowed the flv or mp4 to stream to my player embedded into my php page... what i relief!

So thanks for the headache relief... this did help so much, cheers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!