Cannot play video when using file:///.../embed.html to access the file?
-
when i open a embeded html by using file:///.../embed.html, it cannot get data, but if i use http://.../embed.html, it works! i don't know why. i use the same file for this testing, the paths are exactly the same.
-
Answer:
When you use file:///.../embed.html, this file is searched on the local system. This code will work fine when testing the site on the local computer. If this same code is uploaded on the server where the site is hosted, the same html code will not be able to find the file embed.html. Hence in this case you need to add http://.../embed.html which will search the file in the current folder on the server.
cora g at Yahoo! Answers Visit the source
Related Q & A:
- How to play video Using Url On Android?Best solution by Stack Overflow
- how to play video in wpf using mediaElement?Best solution by Stack Overflow
- how to play video using mediaElement in wpf?Best solution by Stack Overflow
- How to get current YouTube video url using JavaScript?Best solution by Stack Overflow
- How can I play my PS3 using a laptop as a monitor?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.