P.when('A', 'Airy', 'ready').execute(function(A, Airy) { setTimeout(setupAiry(A,Airy), 3000); function setupAiry(A, Airy) { var airyAssetConfig = {}; airyAssetConfig["parentId"] = "6bb26509-67cb-4033-a781-cf97f59514c9"; airyAssetConfig["desiredMode"] = "html"; airyAssetConfig["swfUrl"] = "https://images-na.ssl-images-amazon.com/images/G/01/vap/video/airy2/prod/2.0.1460.0/flash/AiryBasicRenderer._CB485925577_.swf" airyAssetConfig["htmlVideoAttributes"] = { "preload": "none", }; if("Install Flash Player".length > 0) { airyAssetConfig["installFlashButtonText"] = "Install Flash Player"; } if("Adobe Flash Player is required to watch this video.".length > 0) { airyAssetConfig["installFlashPrompt"] = "Adobe Flash Player is required to watch this video."; } if("Sorry, an error has occurred while attempting video playback. Please try again later.".length > 0) { airyAssetConfig["playbackErrorPrompt"] = "Sorry, an error has occurred while attempting video playback. Please try again later."; } if("Sorry, this video is unsupported on this browser.".length > 0) { airyAssetConfig["videoUnsupportedPrompt"] = "Sorry, this video is unsupported on this browser."; } var requestId, sessionId, marketplaceId, contentId; requestId = "485VNTR86ZNNQ9VD4E2H"; sessionId = "144-4079905-6486152"; marketplaceId = "ATVPDKIKX0DER"; contentId = "85b5d3dd-e16f-4951-b01f-e6903415935f"; airyAssetConfig["contentId"] = contentId; if(false){ airyAssetConfig["ignoreBundledSkin"] = true; } airyAssetConfig["mediaSourceInfo"] = [ "https://m.media-amazon.com/images/S/aplus-media/sota/98e5300e-1ba7-4b40-8e40-6a61bbf3328a.mp4", ]; if("https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg".length > 0 || "https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg".length > 0){ airyAssetConfig["slateImages"] = {}; } if("https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg".length > 0){ airyAssetConfig["slateImages"]["preloadSlate"] = "https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg"; } if("https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg".length > 0){ airyAssetConfig["slateImages"]["postMediaSlate"] = "https://m.media-amazon.com/images/S/aplus-media/sota/7d1e8854-2d5b-4894-b928-6f85696044ef.__CR0,293,3840,1574_PT0_SX1464_V1___.jpg"; } airyAssetConfig["backgroundColor"] = "#000000"; var gifLike = (false || false || false); var videoHeight, videoWidth; airyAssetConfig["bindings"] = { canplay: function() { if(!Airy.isMobilePlatform() && gifLike){ aplusAiryInstance.audioOff(); aplusAiryInstance.play(); } }, play : function() { if (Airy.isMobilePlatform()){ aplusAiryInstance.enterFullScreen(); } }, ended: function(){ if(!Airy.isMobilePlatform() && gifLike){ aplusAiryInstance.replay(); } }, loadedmetadata: function(e, f) { videoWidth = f.videoWidth; videoHeight = f.videoHeight; } }; var metricsMethod = Airy.isMobilePlatform() ? "MobileDetailPage" : "DetailPage"; if (gifLike) { airyAssetConfig["isForesterTrackingDisabled"] = true; } airyAssetConfig["foresterMetadataParams"] = { client : "AplusEmc", method : metricsMethod, marketplaceId : marketplaceId, requestId : requestId, session : sessionId }; var aplusAiryInstance = Airy.embed(airyAssetConfig); A.on("aplus:6bb26509-67cb-4033-a781-cf97f59514c9:play", function(){ aplusAiryInstance.play(); }); A.on("aplus:6bb26509-67cb-4033-a781-cf97f59514c9:pause", function(){ aplusAiryInstance.pause(); }); A.on("aplus:6bb26509-67cb-4033-a781-cf97f59514c9:loadMedia", function(media){ aplusAiryInstance.loadMedia(media); }); A.on("aplus:6bb26509-67cb-4033-a781-cf97f59514c9:mediaMetadata", function(cb){ cb(videoWidth, videoHeight); }); } });