1 Reply Latest reply on Oct 23, 2013 10:03 AM by nilsheuer

    Any suggestion to validate Box embed iframe code?




      I am creating a widget which takes input of Box folder embed code as a text input from user.


      Embed code looks like :   

      <iframe src="https://app.box.com/embed_widget/q7tvbq5ajvfd/s/kl2tr6rpp77hl8ldmgbu?view=list&sort=name&direction=ASC&theme=blue" width="500" height="400" frameborder="0"></iframe>


      I want to check the validity of this embed code programmatically. Is there any best practice available or if anyone applied this type of validity check, please let me know.

      Thanks in advance.