Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Youtube embed link in iframe not able to play in Sharepoint 2013 WebPart

Youtube embed link in iframe not able to play in Sharepoint 2013 WebPart

Scheduled Pinned Locked Moved SharePoint
helpsharepointcomxml
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KaushalJB
    wrote on last edited by
    #1

    Hello All, I have an issue in Sharepoint 2013 related to youtube embed iframe links that i copy and paste from youtube embed video link and place it in my video library (check image link 1 'SPVideo Image 1'). It gets uploaded successfully and get played successfully from the "Site Contents" where the video has been uploaded. But when i use that video in an xsl Webpart it shows "Media Failed to Load", below is xsl code :

        [   		
    		![]({@ImageUrl})
    	](#) 					
    

    Here are the image links of dropbox where you can refer to my steps to problem that i am facing : 1. Pasting Youtube embed code in video gallery: SPVideo Image 1 2. After saving it comes to Videopage (which plays video) : SPVideo Image 2 3. XSL Webpart list page where all videos are listed in image video(from above xsl code) : SPVideo Image 3 4. A popup which opens a Dialog (from above xsl code) :SPVideo Image 4 I have been trying to search this issue but unable to resolve this from 2 days. Please help if you have any solution. Any help would be appreciated. Thank you.

    I 1 Reply Last reply
    0
    • K KaushalJB

      Hello All, I have an issue in Sharepoint 2013 related to youtube embed iframe links that i copy and paste from youtube embed video link and place it in my video library (check image link 1 'SPVideo Image 1'). It gets uploaded successfully and get played successfully from the "Site Contents" where the video has been uploaded. But when i use that video in an xsl Webpart it shows "Media Failed to Load", below is xsl code :

          [   		
      		![]({@ImageUrl})
      	](#) 					
      

      Here are the image links of dropbox where you can refer to my steps to problem that i am facing : 1. Pasting Youtube embed code in video gallery: SPVideo Image 1 2. After saving it comes to Videopage (which plays video) : SPVideo Image 2 3. XSL Webpart list page where all videos are listed in image video(from above xsl code) : SPVideo Image 3 4. A popup which opens a Dialog (from above xsl code) :SPVideo Image 4 I have been trying to search this issue but unable to resolve this from 2 days. Please help if you have any solution. Any help would be appreciated. Thank you.

      I Offline
      I Offline
      Ibrahim Khatri
      wrote on last edited by
      #2

      Hi Kaushal, Just check if your web application general settings has permissive option selected. Thanks, Ibrahim

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups