You are viewing our Forum Archives. To view or take place in current topics click here.
Wordpress/Website Help
Posted:
Wordpress/Website HelpPosted:
Status: Offline
Joined: Dec 26, 201310Year Member
Posts: 20
Reputation Power: 0
Status: Offline
Joined: Dec 26, 201310Year Member
Posts: 20
Reputation Power: 0
I'm building a movie website it's been a dream of mine for a while but I am having problems with finding movies and legally embed them into the site so I don't have to illegally host them. Movie4k says they do this...
How is it possible to build a site like this?
I have built a site on wordpress and have a few movies on it but they are all movies I have gathered through YouTube. I have searched around Movie4k and cannot see any embed codes that I could use for my own site. Is it possible to have the same movies they do, How are they gathering all these movies from around the net and embedding them on there site?
We do not host any files on our server nor we upload any movies on other hosting websites.
Our website workes like a search engine, gathering and sorting movies from other websites and showing the embeded code or the direct link
How is it possible to build a site like this?
I have built a site on wordpress and have a few movies on it but they are all movies I have gathered through YouTube. I have searched around Movie4k and cannot see any embed codes that I could use for my own site. Is it possible to have the same movies they do, How are they gathering all these movies from around the net and embedding them on there site?
#2. Posted:
Status: Offline
Joined: Apr 15, 201113Year Member
Posts: 614
Reputation Power: 83
Wordpress has a too greater layer of abstraction, I really don't understand why you'd resort to it in the first place?
You need to use some sort of server-sided language such as PHP. From there you should use the curl library along with simple html and DOM parsing to crawl through anchor links until you find one leading to a (.mp4/.ogg etc..) file. You can then store these urls in a database. Pretty simple really, I mean you could add checks to see if the movie file is still up etc..
As all urls to the movie files will be in the database you can just call and embed them as needed in either your own flash player or just with html5:
You need to use some sort of server-sided language such as PHP. From there you should use the curl library along with simple html and DOM parsing to crawl through anchor links until you find one leading to a (.mp4/.ogg etc..) file. You can then store these urls in a database. Pretty simple really, I mean you could add checks to see if the movie file is still up etc..
As all urls to the movie files will be in the database you can just call and embed them as needed in either your own flash player or just with html5:
<video width="300" height="240" controls>
<source src="<?=$movieURL;?>" type="video/<?=$movieFormat;?>">
</video>
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Dec 26, 201310Year Member
Posts: 20
Reputation Power: 0
Status: Offline
Joined: Dec 26, 201310Year Member
Posts: 20
Reputation Power: 0
iyop45 wrote Wordpress has a too greater layer of abstraction, I really don't understand why you'd resort to it in the first place?
You need to use some sort of server-sided language such as PHP. From there you should use the curl library along with simple html and DOM parsing to crawl through anchor links until you find one leading to a (.mp4/.ogg etc..) file. You can then store these urls in a database. Pretty simple really, I mean you could add checks to see if the movie file is still up etc..
As all urls to the movie files will be in the database you can just call and embed them as needed in either your own flash player or just with html5:
<video width="300" height="240" controls>
<source src="<?=$movieURL;?>" type="video/<?=$movieFormat;?>">
</video>
Thank you very much this was really helpful, unfortunately I do not know much HTML or PHP which is why I resorted to Wordpress I am willing to learn HTML and PHP if fully needed.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
Well wordpress itself can be manipulated as it's just code.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.