From 6f91ee2bf35fa38519da943e4734b9dec722e536 Mon Sep 17 00:00:00 2001 From: Birendra Date: Fri, 19 Jun 2020 12:45:33 +0530 Subject: [PATCH] Fix firefox and ie issue for animation video --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js | 11 +++++++---- 400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js | 17 ++++++++++------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js index 6b818ed..8d45226 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js @@ -1123,10 +1123,13 @@ function videoOnLoad(event) { var scope = angular.element(document.getElementById("CAView")).scope(); // var len = (event.target.id).split("_").length; var windowviewid = (event.target.id).split("_")[1]; - - scope.$apply(function () { - scope.videoOnLoad(windowviewid); - }); + setTimeout(function() + { + scope.$apply(function () { + scope.videoOnLoad(windowviewid); + }); + }, 500); + } function GetTextVisibityCA(event) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js index f9ad51f..e640c2c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js @@ -303,7 +303,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout parentSlug: $scope.GetVideowindowStoreData(windowviewid, 'parentSlugName'), content: '' + '