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,
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
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
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>
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
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,309
Most Valuable Professional
nmaenpaa
101,156