Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error : Unsupported video type or invalid file path

(0) ShareShare
ReportReport
Posted on by 402

Hi,

I am trying to load video from a file system server which is mapped as a drive on the CRM Server. The video type is MP4.

CRM 2013 SP1

Internet Explorer 11

*This post is locked for comments

  • Mir Hassan Ali Profile Picture
    Mir Hassan Ali 1,720 on at
    RE: Error : Unsupported video type or invalid file path

    You said that the video file is present on a file system mapped as a drive on your CRM server. But the web resource is running on your client and the client might not have access to that mapped drive. Can you make sure you can access the path "V:\\MAPS Training\\eLearningProd\\Videos\\" on the client where you are accessing CRM web app.

    Regards

  • Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Error : Unsupported video type or invalid file path

    Hi Hassan,

    I am not trying to upload. But the video tag is present in the HTML WebResource which is added in the CRM Form.

    I am setting the src property of the video to the appropriate path where the video is located using javascript.

    <video width="100%" height="400" id="videoPlayer" controls="">

           <source src="" type="video/mp4">

       </video>

    <script type="text/javascript">

           if (window.parent.Xrm.Page.getAttribute("videoname").getValue() != null) {

               var src = "V:\\MAPS Training\\eLearningProd\\Videos\\" + window.parent.Xrm.Page.getAttribute("videoname").getValue();

               var player = document.getElementById("videoPlayer");

               player.setAttribute("src", src);

               $("#videoPlayer").find("source").data("src", src);

               player.load();

           }

           document.getElementById("videoPlayer").addEventListener("ended", function () {

           }, false);

           //alert('Event Added');

       </script>

  • Mir Hassan Ali Profile Picture
    Mir Hassan Ali 1,720 on at
    RE: Error : Unsupported video type or invalid file path

    Hi Mohammed

    Are you trying to upload the video file as a note attachment? Can you please share some more details about your upload process.

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans