• Solutions
    • Streamroot DNA
    • DNA Complete
    • DNA Enterprise
    • Compass
  • Company
    • About
    • Careers
    • Partners
  • Customer Stories
  • Demo
  • Docs
  • Blog
Request a Trial
    • Streamroot DNA
    • DNA Complete
    • DNA Enterprise
    • Compass
  • Demo
  • Docs
  • Blog
  • Sign In
  • Request a Trial

Property for Web

  1. Streamroot Documentation
  2. Web
  3. DNA Config for Web

You can use the property option to apply different delivery parameters according to your business logic or other parameters. To learn how to create and edit properties, please read this article.

property - string || function (optional)

The default property can't be deleted in the portal and will be applied in the following cases:

  • you don't specify any property in dnaConfig
  • the property set in dnaConfig doesn't match any property in the portal
  • the property set in dnaConfig is "default"

 To set your property, you need to pass the string to your video player set-up.

Example

dnaConfig: {
  "property": "Live"
}

 

Advanced

To build your own property logic you can pass a function that takes the content URL and returns a property string. This is recommended if you want to apply various properties inside the same playlist.

Example

function propertyFn(contentUrl)  {
    // your own function logic
  
}

dnaConfig : {
	"property" : propertyFn
}
  • Facebook
  • Twitter
  • LinkedIn
  • Google+
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top

Related articles

  • Content ID for Web
  • dnaConfig overview for Web
  • Properties overview
  • Enterprise options
  • id

SOLUTIONS


  • STREAMROOT DNA™
  • DNA COMPLETE
  • DNA ENTERPRISE
  • COMPASS

COMPANY


  • ABOUT
  • CAREERS
  • PARTNERS

RESOURCES


  • DEMO
  • DOCUMENTATION
  • CUSTOMER STORIES
  • BLOG
  • FAQ

CONTACT US


  • CONTACT US
Privacy Policy