Notifications
Announcements
No record found.
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
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
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>
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2