I have a html page, calling HLS from javascript. Getting CORS error, of header "allow-control-allow-origin". I am using Adobe Media Server 4.5. How can i allow CORS request from javascript?
How to allow CORS request from Javascript in Adobe Media Server
1.8k Views Asked by Stackoverflow user At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in CORS
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
- Angular/C# CORS Issue
- CORS in ionic app and django
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- "cross-origin requests that require preflight" - Cors apache configuration
- 405 Method Not Allowed - but Access-Control-Allow-Methods are set
- How to enable CORS between API and angular client
- CORS and CSRF(XSRF)
- Safari turns Simple Cors Request into Preflight after 302 redirect
- Enable CORS in OWIN Self Hosted WebApi
- Moving from development to production and FA icons are now squares
- XMLHttprequest not working the twitch.tv api
- Wso2ESB: Call Rest API through Entitlement policy from client producing CORS issue
- CORS - request made after preflight request expects 'Access-Control-Allow-Credentials' to be true
- CORS on Image Not Working
Related Questions in HTTP-LIVE-STREAMING
- How to get a thumbnail of a live stream?
- loadHTTPProvider error on wowza
- Hi!,Our m3u8 stream not work on Android
- WP8.1 (0xc0000005) 'Access violation' crash
- Is transmitting PES(Packetised Elementary Stream) better or MPEG-TS in Live Streaming from mobile (IOS) to server
- Video streaming issue
- How to adjust mpeg 2 ts start time with ffmpeg?
- Mp4 to HLS using ffmpeg
- Embed m3u8 with flowplayer using JS
- How to play ts file using the cache in the AVPlayer?
- Elastic transcoder(HLS): generating playlist based on original video
- Access-Control-Allow-Origin with HLS streaming and video JS
- FFMpeg hls_time accuracy
- AVPlayer empties buffer when app is in background
- Set -keyint_min ffmpeg
Related Questions in ADOBE-MEDIA-SERVER
- What is the cost of Live streaming using Adobe Media Server in amazon cloudfront in Amazon web services
- Work around for limited SIP connections of Adobe media server and adobe media gateway
- AMS doesn't receive unpublish command SOMETIMES over rtmpt
- Live Streaming adobe media server video to HTML 5
- Unable to play hls live stream on chrome using videojs
- Adobe Media Server Docker
- How do I configure AMS admin permissions on EC2 AWS?
- Play Adobe media server in Asp.net core 2.2 web Application
- Adobe Media Server Administration API get contents
- How to stream RTMPE using Adobe media server and JWplayer
- How to run a method when onPublish is triggered in Adobe Media Server?
- Adobe Media Server Video Recording
- cs-bytes and sc-bytes in Wowza/FMS
- Can't connect to server using rtmfp
- What can I do with Actionscript Communication files?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Adobe Media Server use Apache HTTP Server. To enable CORS you need to add following line to Apache HTTP Server configuration file:
You need to replace "your_page_origin" with origin of the page that will make requests, or with "*" to allow requests from any domain. Check Enable CORS web site and Configuring Apache HTTP Server documentation page for more information.
Also, you can use HTML
videotag to embed HLS. When user agent makes request tovideosource it will not sendOriginheader by default, and it will not search for CORS-related headers in server response. You don't need to change server configuration in this case. Apple recommends to usevideotag in their introduction to HTTP Live Streaming Overview:Check How can I play Apple HLS live stream using html5 video tag thread for more information.