I am going to host some videos in wowza server because I need security and streaming. I went through the tutorials and notes, and in order to out the videos in wowza, the server should be installed in my machine. OK, now the problem begins.
How can I install the wowza in the web host? Or is there is any other way of doing it? Once the videos are uploaded to the internet, how can they use wowza?
The server is not installed in "your" machine (I mean, not your local desktop). You can only install wowza to the web server if you have a dedicated server, and you have full administrative rights to it, and you can log on to it via remote desktop (RDP or VNC). It will be costing you anywhere above $80 per month.
Your question "Once the videos are uploaded to the internet, how can they use wowza?" doesnt make sense unfortunately. Why you upload it to the internet ? You upload the videos to the storage directory of the Wowza server you install in your dedicated server, via any means you prefer (Like FTP or copy-paste etc).
Once you place the video files the the content directory of wowza, you will be able to use the streaming links (you can get it from wowza) to steam videos elsewhere with the URL.
Related
I'm an high school student and I'm working on something for fun. I've linked a local file stored on my computer to my webpage. What can I do to make it possible for other devices to access the local html file? (meme1.html)
<div id="button">
<a href="C:\Users\Desktop\MEME GENERATOR\meme1.html">
<img src="https://openclipart.org/image/2400px/svg_to_png/140365/1306313012.png" alt="Click here!" height="20%" width="20%"></a>
</div>
<div id="wrapper">
<h1><span class="tight-2">Happy Birthday!</h1>
<h2>Go ahead, press the button to generate memes!<span class="tm">™</span>.</h2>
</div>
Basically, when you host the site online you have to change the linked file path to the one of the server instead of your local machine.
Edit: If youre using plain HTML my answer stands, if you use a backend platform like Django, Flask or dotNet Core then the urls are dynamicly stated in your webapp.
By default, the local file is only available to the system it resides on. For instance this link you've created:
<a href="C:\Users\Desktop\MEME GENERATOR\meme1.html">
is telling the browser to look in the C: drive of the machine it's currently installed on. Every other system in your network (and the world, for that matter) will likely not be to pull that file because MEME GENERATOR isn't a folder on their system, so they will see a 404 (file not found) error.
That said, you can load links within your network by using network addresses. This will be the machine's network IP address, typically starting with 192.168.
That said, in order to load the file, the machine that it is running on will need to have a port open for the client machine's browser to connect to. This is typically port 80, unless SSL is in use, in which case it's typically port 8080, for HTTP traffic.
In doing so, the computer that is serving up the files becomes, logically, a 'server'. And this is the core of the client (user) to server relationship that the whole of the internet and networking is built upon.
Since you're on Windows, you can use something like XAMPP or WAMP to run a server locally that will have Apache installed, which can serve files through these ports. You're going to need to read up on these technologies a lot to get a file going, and be forewarned that this will open your system to hacking and the like.
EDIT: rereading your question, you are maybe trying to get this file to load on your website? If this is the case, then you need to upload the file to your website, and then it will have a folder structure similar to a local Windows file. [YOUR.DOMAIN.COM]/[whatever folder you create on your server in the public directory]/meme1.html
Do you mean? That you want other people to access your website?
Few ways to do that.
One thing you could do is to send the whole directory to the individual to who you want to send the webpage to.
Or the other way is what you can do is host the webpage on a hosting website. There are a lot of hosting websites that would host your websites for free.
That way anyone with a given URL can access the website.
I am new in html programing and actually I am self-taught.
Recently I found a piece of software that let me pre-render videos to 60 fps.
I thought why not share the results with the world. So i read about how to code in html5. So I created a very simple looking site and everything worked perfectly when I start the html5 file (Videos are playing). So I read that Wamp Server will give me opportunity to share this with the rest of the World.
But everytime I start Wamp and try to view the page neither the videos or tumbnails of the videos load. Everything else like margins placement of the players text works but Wamp somehow blocks every content which is loaded in the html5 file like this:
"D:/Downloads/Pixar Short Film Collection........ ".
I repeat html5 works perfect if I start the index file from any browser but loaded through Wamp it can't load anything.
In IE10 under the videos is showing that is being blocked but in Chrome just blank.
It works when I make the html5 file to load the video from the directory "www", but this is a problem for me because it is going to be a video library site. My "C:" drive will be filled so if someone knows how to fix that it will be awesome.
PS(One week ago I had no such problem but it suddenly appeared. Since then I've been installing and uninstalling Wamp, but no luck)
And another thing, no matter what I did, following every tutorial for installing Wamp configuring my router/modem for 80 port and IP forwarding nothing seems to work even in my local network (typed IP in Chrome) I can't open the web page. Yet everything works, Wamp is green, and from the PC where Wamp is installed I can open the page, but in no other PC.
(I have prefect connection between the two PC's because from the one I can play games on the other without noticeable lag, but Wamp server is like a WALL)
PS
If you are going to instruct me to unblock port 80 in my FireWall I have already done this on both PC's I am running Win8 in both machines!
Thanks in advance!
This is nothing to do with HTML5 it is an Apache configuration issue.
From what you say I assume you have been double clicking on the index file from explorer (filemanager) while you develop and test your site. BAD IDEA.
Now you are using the browser to server the file via Apache ( it does not do this when you doubleclick on filenames in explorer ) you need to tell Apache that it has access to your video library which you placed on the D:\ drive.
To do this you need to configure Apache ( https.conf ) to know about your video library and be allowed to access it. To do this you need an Alias.
Now I have no idea what your setup is but lets assume you have created your site in the wamp folder structure C:\wamp\www\ or C:\wamp\www\sitename
You will need to amend your https.conf file adding something like this to identify the video library and assign access privilages to it.
This can go at the bottom of the httpd.conf file after the Include "c:/wamp/alias/*" line
Alias /videolibrary "D:/Downloads/Pixar Short Film Collection........ "
<Directory "D:/Downloads/Pixar Short Film Collection........ ">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
You can then address the individual videos in the library from your html as
/videolibrary/video1.xxx
using the alias videolibrary setup above and not
"D:/Downloads/Pixar Short Film Collection........ ".
you can access localhost files using wamp via C:/wamp/www/webitefolder/
I'm developing kind of standalone kiosk and having trouble as in title.
Explanation:
Application is launched in Google Chrome with "--app=file://..." option
Application should play video files from local filesystem after user
interaction and after playback is finished app will send log-message
to web server.
Problem:
When using with "-use-network=false" i can use local files and cannot
send messages.
When using with "-use-network=true" i can send messages but cannot
red local files.
When using with debugger and Safari on Mac locally - no problems.
Is there any way to get around this?
Software used: Debian, latest Google Chrome with latest pepper Flash.
As written in Adobe docs:
The local-trusted sandbox—Local SWF files that are registered as
trusted (by users or by installer programs) are placed in the
local-trusted sandbox. System administrators and users also have the
ability to reassign (move) a local SWF file to or from the
local-trusted sandbox based on security considerations (see
Administrator controls and User controls). SWF files that are assigned
to the local-trusted sandbox can interact with any other SWF files and
can load data from anywhere (remote or local).
Besides that, I doubt there is an easy way to do both networking and access local files since this is how Flash security sandboxes work. Or you could write an AIR app (2.6 is last supported version on Linux) or wrap your swf in a native app that would act as a layer between .swf and network/filesystem interfaces.
I'm working on a project about a streaming server (Linux, Apache, Squid, DHCP) that works on LAN. Clients connect to the server through web browser and watch videos with HTML5. Using HTML5 is very simple, but clients can also download videos easily with right-click menu (or with a browser extension). Is it possible to prevent users from downloading videos with squid proxy server while they can play videos with browser? I tried to block video file downloading (with squid), but with this method HTML5 video won't play either. Squid config for blocking file download that i used:
acl BlockExt url_regex -i \.mp4$
http_access deny BlockExt all
Thanks.
sadly there is no way to differentiate from the server between a browser requesting the video to play and requesting the video to download.
you could add an annoyance factor by disabling rightclick via javascript (that's only going to stop really basic users) or split the video into multiple fragments and use the ended event to jump to the next piece (potential for buffering delays of course, but for this sample dealing with Audio it's been fairly reliable - https://gist.github.com/1266499)
I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com
How do I:
upload my models, views and controllers to the public_html folder of 000webhost?
get my MySQL database up and running on 000webhost?
Thanks in advance
I am presuming that your control panel is cPanel. If thats the case then upload all your files in the web root of the server. Create a database, and change that details in database.php inside config folder. thats it, your site will be up and running.
Your .htaccess (at least mod_rewrite for codeigniter) will not work if you use the free 000webhost service (at least the last time i wanted it, the support told me that they doesn't support it... that was thy time i signed up for their free service for private test of scripts i wrote). Another thing is that for the free hosting they use their own control panel (not cPanel), cPanel is for the paid accounts.
Anyway they both offer ftp accounts, mysql databases and of course web ftp (online file manager). All you need is a ftp client (such as FileZilla or even Windows Explorer itself).