HTML 5 apple smooth Stream for remote IIS manager - iis

Hi i am trying to stream video from IIS 7 to my iOS application with Transform Manager.
Tutorial Link : http://www.hanselman.com/blog/StreamingLiveOrOnDemandVideoFromIIS7ToIOSDevicesIPhoneiPadAndSilverlightClients.aspx
I have create an IIS virtual directory to output directory of the Transform Manager. Index.html that is created in AppleOutput folder for iOS streaming and When I open it from my local machine video doesn't play in my safari, chrome or iOS browser. Is there any IIS settings i have to enable to stream videos out of my remote server
Here is the code thats generated
<html>
<head>
<title>iOS Streaming page for xhaO6UhGMU-m3u8-aapl...</title>
</head>
<body>
<video autoplay="true" controls="true" src="xhaO6UhGMU-m3u8-aapl.ism/manifest(format=m3u8-aapl)">xhaO6UhGMU-m3u8-aapl</video>
</body>
</html>
Here is my Apple Output Direcotry
Here is my Virtual Directory i am accessing from local machine but video won't play

A couple of questions:
Do you have IIS Web Publishing turned on?
Is the AppleOutput folder you're referencing in the inetpub\wwwroot directory?
By default, the Transform Manager watch folder is outside of the web root. Any Smooth Streaming conversions will need to be moved into a directory available from within the web root.

Related

Error in downloading jquery library after deploying an application to Azure Web App Virtual Directory

I created a Web App in Azure and 2 virtual Directories inside it. when i deploy my application to Web App Virtual directory, it throws 404 for JQuery libraries. Lets say for downloading inline.bundle.js it access this URL.
https://exampleui.ase01.p.azurewebsites.net/inline.bundle.js
But since i have deployed my application in virtual directory my WebApp the scripts are present in that particular directory. Lets say name of my virtual Directory is dev, so the scripts are present in:
https://exampleui.ase01.p.azurewebsites.net/dev/inline.bundle.js
It's better to use relative paths which just have the path relative to the HTML file.
<script src="path/to/inline.bundle.js"></script>
Note that you shouldn't put / at the beginning of the js path.

Using IIs as it I would use Apache

I want to use IIS the way I use Apache. With that, I mean to, for example, create a simple html file, with only a "hello" message, put this file inside the IIS folder and then be able to access this html page thru eg.: localhost/mypage.html.
I can't figure it out how to make this. I've searched on Google, but nine has helped me.
My doubts are:
The IIS server is turned on, I saw this on the IIS Manager. So, what are the folder that I should place my html file and what are the default port that IIS uses so I can access my html file via localhost?
Create a new website and point to the folder where your html file resides
GO to IIS Manager->Right Click on Sites -> Add Website
Are you getting the localhost default screen
Restart Your server as whole,
See if the IIS Worker Process is running on the task manager,

Transferring files to IIS (attempted using PHPStorm & Finder)

I have a working local copy of a simple website I would like to deploy to an IIS (Internet Information Server) running on my local network. Running on my computer on MAMP, everything works perfectly. However, after I try to upload all the files to the web server and load the index.html it fails to GET many different files necessary to load the page. Here is an example error line in the console:
GET http://WEBSITE.com/scripts/bootstrap-wizard-custom.js 403 (Forbidden)
Here the methods I have tried to upload files to the live server:
Using CMD+K in Finder, connecting to the live server with an address like smb://webserver, and then simply dragging files from my local folder to the wwwroot folder.
Using PHPStorm (on Windows), selecting the mapped network folder as my workspace, and then "Deploying" all the files to the server by clicking an "Upload to [webserver]" button.
What is the best way to go about transferring these files from my local machine to a web server on the same network?
It turns out it was a permissions problem. After some permission changing, it now works. Fixed!

Publishing a web application with an executable to MS Azure

Here is my situation, I have a web app that contains:
An .exe (which is a .net project along with assembly files and so on)
ZIPped xml files
Folders containing js&css files
Now when executing the .exe it parses the xml inside the ZIPs to create html files( the end result is a complete html that imports some of the js libraries and css files).
Considering that I have basic experience in MS Azure, I am looking for a way to have my application run on azure? My guess is that the ZIPped xmls could be stored most probably using blob storage along with the js and css files. What I am not sure of is how to get the executable running there(Possibly deploying the .exe with its corresponding resources,assemblies,dlls etc...) and have it execute from there.
If you really want to use a home grown build process (your exe) then you need to use cloud services (your own VM) where you can run this and expose your website over whatever ports you want. However it sounds like you are new to .Net, I'd suggest reading up on ASP.Net MVC Web Projects. That way you can leverage Visual Studio for building the website and deploy to a Azure Website, which is designed to host websites.

Configure the multimedia components to get published inside the website folder

Need to publish the JS and CSS files using multimedia components.
The multimedia components gets published outside the website folder similar to the Images in
“C:\tridion\temp\pub14\Includes\scripts”
Any Idea How to Configure the multimedia components to get published inside the website folder.
We are using IIS to deploy website
You can control this by editing cd_storage_conf.xml. In this file you can configure where binaries go for each publication. For example: you probably have something like this configured: <Item typeMapping="Binary" cached="false" storageId="myStorageId"/> and this myStorageId storage is defined inside the Storages element like:
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory"
Id="myStorageId" defaultFilesystem="true" defaultStorage="true">
<Root Path="c:\temp\" />
</Storage>
If that is the case then you need to change the root path to point to the root of your WebApplication in IIS. More about how to configure the storage you have here (logon required).
You can overide the path of your multimedia binary using template code as long as you have structure group created for same path.
Ex if you want to publish particular binary to \css\images folder, you first have to create the structure group for same path(\css\images) and use the structure group id in the following code to publish the binary.
engine.AddBinary(Binary.Id, templateID, binaryStructureGroupID, Binary.BinaryContent.GetByteArray(), Binary.FileName);

Resources