


';
tmpTxt += '';
tmpTxt += '
';
$(tmpTxt).appendTo(base.$loader);
},
createContainer: function () {
if (this.renderOptions.style === 'inline') {
this.$videoContainer = $('').addClass('inline-video-container').appendTo(this.$el);
if (this.options.autoplay == 'N') {
this.$videoContainer.css('visibility', 'hidden');
}
} else if (this.renderOptions.style === 'overlay') {
this.$overlayBg = $('
').addClass('video-overlay-background').appendTo(this.$el).css('display', 'none');
this.$videoContainer = $('
').addClass('overlay-video-container').appendTo(this.$overlayBg).css('visibility', 'hidden');
var tmpTxt = '';
this.$closeBtn = $(tmpTxt)
.appendTo(this.$videoContainer);
}
},
setListeners: function () {
var base = this;
if (base.renderOptions.el != null) {
base.renderOptions.el.on('click', function (evt) {
evt.stopPropagation();
evt.preventDefault();
base.$overlayBg && base.$overlayBg.addClass('active').css('display', 'block');
if (!base.playerReady) {
base._createLoader();
base.playerReadyDeferred.done(function () {
base._playVideo();
base.$loader.css('opacity', '0');
setTimeout(function () {
base.$loader.remove();
}, 700);
});
} else {
base._playVideo();
}
});
} else {
base.$el.on('click', function (evt) {
evt.stopPropagation();
evt.preventDefault();
base.$overlayBg && base.$overlayBg.addClass('active').css('display', 'block');
if (!base.playerReady) {
base._createLoader();
base.playerReadyDeferred.done(function () {
base._playVideo();
base.$loader.css('opacity', '0');
setTimeout(function () {
base.$loader.remove();
}, 700);
});
} else {
base._playVideo();
}
});
}
base.$videoContainer.on('playerReady.unifiedVideoInterface', function (evt) {
evt.stopPropagation();
evt.preventDefault();
//console.log("captured, from" + evt.target);
base.playerReadyDeferred.resolve();
base.playerReady = true;
});
base.$videoContainer.on('mediaComplete.unifiedVideoInterface', function (evt) {
console.log('finished');
evt.stopPropagation();
evt.preventDefault();
base._closeVideo();
});
base.$videoContainer.on('mediaStop.unifiedVideoInterface', function () {
//console.log('stop captured');
});
base.$videoContainer.on('mediaBegin.unifiedVideoInterface', function () {
//console.log('video begin');
var titleText = document.getElementsByTagName("title")[0].innerHTML;
if (typeof utag != "undefined" && base.renderOptions.answerPage && base.renderOptions.answerPage === true) {
utag.link({
link_cat: 'solutions marquee video',
link_id: 'marquee_video_solutions',
link_meta: 'link_name:' + titleText + '>video play',
link_position: 'marquee'
});
}
});
if (base.renderOptions.style == 'overlay') {
base.$overlayBg.on('click', function (evt) {
evt.stopPropagation();
evt.preventDefault();
base._closeVideo();
});
base.$closeBtn.on('click', function (evt) {
evt.stopPropagation();
evt.preventDefault();
base._closeVideo();
});
}
$(window).on('resize', function() {
base.$videoContainer.unifiedPlayer('windowResize');
});
},
_playVideo: function () {
var base = this;
base.$overlayBg && base.$overlayBg.css('display', 'block');
base.$videoContainer.css('visibility', 'visible');
base.$videoContainer.unifiedPlayer('play');
},
_pauseVideo: function () {
var base = this;
base.$overlayBg && base.$overlayBg.css('display', 'none');
base.$videoContainer.css('visibility', 'hidden');
base.$videoContainer.unifiedPlayer('pause');
},
_closeVideo: function () {
var base = this;
if (base.$el.attr('data-vidloop') === 'Y') {
base.$videoContainer.unifiedPlayer('play');
} else {
if (base.$overlayBg) {
base.$overlayBg.removeClass('active');
}
base.$overlayBg && base.$overlayBg.css('display', 'none');
base.$videoContainer.css('visibility', 'hidden').css('opacity', '1');
var videoExpID = $('.ns-feature-benefit-video-trigger').attr("data-vidid");
if (videoExpID != '5205030053001') {
setTimeout(function () {
base.$videoContainer.unifiedPlayer('reset');
}, 500);
}
}
}
});
// A really lightweight plugin wrapper around the constructor,
// preventing against multiple instantiations
$.fn[pluginName] = function (renderOptions, options) {
return this.each(function () {
if (!$.data(this, 'plugin_' + pluginName)) {
$.data(this, 'plugin_' + pluginName,
new Plugin(this, renderOptions, options));
}
});
};
})(jQuery, window, document);
;(function($, window, document, undefined) {
'use strict';
var slice = [].slice;
var pluginName = 'youtubePlayerV2';
var unifiedVideoInterface = 'unifiedVideoInterface';
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
var defaultSettings = {
autoplay: 0,
autohide: 1,
loop: 0,
border: 0,
wmode: 'opaque',
enablejsapi: 1,
version: 3,
hl: 'en_US',
rel: 0,
showinfo: 0,
hd: 1,
iv_load_policy: 3, // add origin
lazyload: true
};
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
$.ajaxSetup({
cache: true
});
var loadDependency = false;
var YTdeferred = $.Deferred();
function Plugin(element, options, selector) {
var _this = this;
this.el = element;
this.$el = $(this.el);
this.options = $.extend({}, defaultSettings, options);
this.selector = selector;
if (typeof window.YT !== 'object') {
if (!loadDependency) {
$.getScript('https://www.youtube.com/iframe_api', function() {//not used: data, textStatus, jqxhr
window.onYouTubeIframeAPIReady = function() {
YTdeferred.resolve();
};
});
loadDependency = true;
}
YTdeferred.done(function() {
_this.init();
});
} else if (typeof window.YT.player !== 'function') {
window.onYouTubeIframeAPIReady = function() {
YTdeferred.resolve();
};
YTdeferred.done(function() {
_this.init();
});
} else {
_this.init();
}
}
$.extend(Plugin.prototype, {
init: function() {
var _this = this;
var playerID = Math.round(Math.random() * 1000000);
function onPlayerStateChange(event) {
if (event.data == YT.PlayerState.ENDED) {
_this.$el.trigger('mediaComplete.' + unifiedVideoInterface);
}
if (event.data == YT.PlayerState.PLAYING) {
_this.$el.trigger('mediaBegin.' + unifiedVideoInterface);
}
}
function onPlayerReady() {
_this.$el.trigger('playerReady.' + unifiedVideoInterface);
_this.player.playVideo();
}
var self = this;
self.options.autoplay = 1;
self.options.mute = 1;
$('', {
'id': 'player' + playerID,
'class': 'yt-video-player',
'src': 'https://www.youtube.com/embed/' + this.options.videoID + '?' + $.param(self.options)
})
.attr({width: this.$el.width(), height: this.$el.height(), seamless: 'seamless', allow: 'autoplay; fullscreen'})
.css('border', 'none')
.appendTo(this.$el);
this.player = new YT.Player('player' + playerID, {
events: {
'onStateChange': onPlayerStateChange,
'onReady': onPlayerReady
}
});
},
play: function() {
if (this.$el.find('.yt-video-player').length) {
this.player.playVideo();
}
},
pause: function() {
this.player.pauseVideo();
},
destroy: function() {
//this.unbindTriggers();
this.$el.empty();
this.$el.data('plugin_' + pluginName, null);
},
windowResize: function() {
},
reset: function() {
this.player.seekTo(0, true);
this.player.pauseVideo();
}
});
$.fn[pluginName] = function() {
var params = slice.call(arguments);
var options;
var method;
var args;
var selector;
if (params.length === 1) {
if (typeof params[0] === 'object') {
options = params.shift();
} else if (typeof params[0] === 'string') {
method = params.shift();
}
} else if (params.length === 2) {
options = params.shift();
selector = params[0];
} else {
method = params.shift();
args = params;
}
this.each(function() {
var pluginInstance = $.data(this, 'plugin_' + pluginName);
if (!pluginInstance) {
if (typeof options !== 'object') {
$.error(pluginName + ' has not been initialized yet');
}
$.data(this, 'plugin_' + pluginName, new Plugin(this, options, selector));
} else {
if (!pluginInstance[method]) {
$.error('Method name "' + method + '" missing');
} else {
pluginInstance[method].apply(pluginInstance, args);
}
}
});
// chain jQuery functions
return this;
};
}(jQuery, window, document));
θFor a limited time only, on Samsung.com / Shop Samsung App, or purchase a new qualifying Galaxy device (“Qualifying Purchase”), send in your qualifying trade-in device to Samsung through the Samsung Trade-In Program, and if Samsung determines your trade-in device meets all eligibility requirements, you will receive a trade-in credit specific to your qualifying trade-in device to apply toward your Qualifying Purchase.Show More
θFor a limited time only, on Samsung.com / Shop Samsung App, or purchase a new qualifying Galaxy device (“Qualifying Purchase”), send in your qualifying trade-in device to Samsung through the Samsung Trade-In Program, and if Samsung determines your trade-in device meets all eligibility requirements, you will receive a trade-in credit specific to your qualifying trade-in device to apply toward your Qualifying Purchase. Device models that currently qualify for trade-in and trade-in credit amounts associated with those models are available on Samsung.com and the Shop Samsung App; eligible models and amounts may change at Samsung’s sole discretion. To be eligible for trade-in, your qualifying device must meet all Trade-In Program eligibility requirements, which include, but are not limited to, that the device powers on, holds a charge, and does not power off unexpectedly; has a functioning display; has no breaks or cracks in the screen (unless a cracked screen offer applies); has no breaks or cracks in the case; has no liquid damage (whether visible or not); has no other defects that go beyond normal wear and tear; is not on a black list; has a verified FCC ID; has been reset to factory settings; has all personal information removed; has all software locks disabled; and is owned by you (leased devices are not eligible). Anticipated trade-in value will be applied as a credit at time of purchase, but, if you do not send in your trade-in device within 15 days of receipt of your Qualifying Purchase, you will be charged back for the trade-in credit applied to your purchase, or if you send in your trade-in device within 15 days of receipt of your Qualifying Purchase but Samsung determines your device does not meet all eligibility requirements, you will be charged back for the trade-in credit applied to your purchase minus $25. Participation in this program does not excuse you from contracts with your carrier or retailer (or any related payments or fees) for the device that was traded in. Limit 1 trade-in per Qualifying Purchase. Samsung reserves the right to modify or discontinue this offer at any time. The Trade-In Program cannot be combined with any other Samsung, carrier or retailer promotions, discounts, or offers unless specifically provided for in the terms and conditions of such offers. Additional terms, including terms that govern the resolution of disputes, apply. Click here - to learn more.Show Less
Q7/9/25 – 7/24/25, while supplies last, pre-order and purchase a Galaxy Z Flip7, Galaxy Z Flip7 FE or Galaxy Z Fold7 device ("Qualifying Purchase") at samsung.com or the Shop Samsung app and receive a discount towards the storage level ("Gift").Show More
Q7/9/25 – 7/24/25, while supplies last, pre-order and purchase a Galaxy Z Flip7, Galaxy Z Flip7 FE or Galaxy Z Fold7 device ("Qualifying Purchase") at samsung.com or the Shop Samsung app and receive a discount towards the storage level ("Gift"). The discount will be automatically applied at checkout as follows: (a) $120 off Galaxy Z Fold7 512GB, Galaxy Z Flip7 512GB and/or Galaxy Z Flip7 FE 256GB, and/or (b) $150 off Galaxy Z Fold7 1TB. The Gift is non transferrable and limited to 1 per Qualifying Purchase. If you return or cancel your purchase, the discount will be lost. Void where prohibited or restricted by law.Show Less

Fast, easy checkout with Shop Samsung App
Easy sign-in, Samsung Pay, notifications, and more!
Or continue shopping on Samsung.com

×
×
×
You Are About To Be Redirected To Investor Relations Information for U.S.
Thank you for visiting Samsung U.S. Investor Relations. You will be redirected via a new browser window to the Samsung Global website for U.S. investor relations information.×
Redirect Notification
As of Nov. 1, 2017, the Samsung Electronics Co., Ltd. printer business and its related affiliates were transferred to HP Inc.For more information, please visit HP's website: http://www.hp.com/go/samsung
- * For Samsung Supplies information go to: www.hp.com/go/samsungsupplies
- * For S.T.A.R. Program cartridge return & recycling go to: www.hp.com/go/suppliesrecycling
- * For Samsung printer support or service go to: www.hp.com/support/samsung

Advertisement
Select CONTINUE to visit HP's website.