Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8301527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:59:03+00:00 2026-06-08T16:59:03+00:00

I am using JWPlayer to stream videos from Azure blob storage, JWPlayer needs crossdomain.xml

  • 0

I am using JWPlayer to stream videos from Azure blob storage, JWPlayer needs crossdomain.xml to play the video.

I tried to place crossdomain.xml file in the root directory and the code in http://127.0.0.1:10000/devstoreaccount1/crossdomain.xml but JWPlayer looks for it in http://127.0.0.1:10000/crossdomain.xml.

Is there anyway to redirect JWPlayer to http://127.0.0.1:10000/devstoreaccount1/crossdomain.xml rather than the default http://127.0.0.1:10000/crossdomain.xml?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:59:05+00:00Added an answer on June 8, 2026 at 4:59 pm

    I often use this code snippet to Create Crossdomainpolicy:

    var account = CloudStorageAccount.Parse(ConfigurationManager.AppSettings[ConfigKey]);
                var blobs = account.CreateCloudBlobClient();
                CreateCrossDomainPolicy(blobs);
    
     private static void CreateCrossDomainPolicy(CloudBlobClient blobs)
        {
            try
            {
                blobs.GetContainerReference("$root").CreateIfNotExist();
                blobs.GetContainerReference("$root").SetPermissions(
                    new BlobContainerPermissions()
                    {
                        PublicAccess = BlobContainerPublicAccessType.Blob
                    });
                var blob = blobs.GetBlobReference("clientaccesspolicy.xml");
                blob.Properties.ContentType = "text/xml";
                blob.UploadText(@"<?xml version=""1.0"" encoding=""utf-8""?>
                    <access-policy>
                      <cross-domain-access>
                        <policy>
                          <allow-from http-methods=""*"" http-request-headers=""*"">
                            <domain uri=""*"" />
                            <domain uri=""http://*"" />
                          </allow-from>
                          <grant-to>
                            <resource path=""/"" include-subpaths=""true"" />
                          </grant-to>
                        </policy>
                      </cross-domain-access>
                    </access-policy>");
            }
            catch (Exception Ex)
            {
                throw Ex;
            }
        }
    

    In the ConfigKey i will pass my Actual Azure storage account key or Uselocalstorage=true

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using JWPlayer to play FLV video on a web page. How
I am using jwplayer to play embedded video, the javascript api tells me jwplayer(mediaplayer).getPosition()
I am using the JWPlayer to play a video file and after the video
I'm using JWPlayer to serve an html5 video with a flash fallback. I'd also
I am using Jw player to stream some video using the following code <script
In my application i am going to place a video player that can play
I am using JWPlayer for HTML5 video and curious about when iOS devices can
I am using JWPlayer with RTMP streaming for a video with several bitrate quality
I'm using jwplayer to display videos on a website. I'm looking for a jQuery
i'm using jwplayer 5.7 in my application to run videos. I'm trying to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.