BOARD OF MANAGEMENT OF SAIGON HI

function playMedia(mediaItem) urlVideo = mediaItem.getAttribute("Url"); urlImage = mediaItem.getAttribute("UrlImage"); if (isFLV(urlVideo)) $(".videobox-image").hide(); $("#MediaPlayerZone").hide(); jwplayer("flvplayer").setup( flashplayer: "/SiteAssets/images/player4.6.swf", file: urlVideo, image: urlImage, autostart: true, height: 200, width: 300 ); else $(".videobox-image").hide(); $("#MediaPlayerZone").show(); $("#flvplayer").hide(); var cnt = document.getElementById("MediaPlayerZone"); var src = "/SiteAssets/js/video/wmvplayer.xaml"; var cfg = file: urlVideo, autoplay:true, height:200, width:300 ; var ply = new jeroenwijering.Player(cnt,src,cfg); ; function isFLV(videoUrl) return videoUrl.substr(videoUrl.lvancongnghiep.infoth - 3, 3).toLowerCase() == "flv"; $(document).ready(function() $("#MediaPlayerZone").hide(); $(".videobox-image").click(function() var urlVideo = $(this).children("div.p-videobox-thumb").children("img.videobox-thumb").attr("srcMedia"); var urlImage = $(this).children("div.p-videobox-thumb").children("img.videobox-thumb").attr("src"); if (isFLV(urlVideo)) $("#MediaPlayerZone").hide(); $(".videobox-image").hide(); jwplayer("flvplayer").setup( flashplayer: "/_LAYOUTS/LacVietBio/UserControls/LacViet.VideoServer/player4.6.swf", file: urlVideo, image: urlImage, height: 200, width: 300 ); else $("#MediaPlayerZone").show(); $(".videobox-image").hide(); $("#flvplayer").hide(); var cnt = document.getElementById("MediaPlayerZone"); var src = "/SiteAssets/js/video/wmvplayer.xaml"; var cfg = file: urlVideo, height:200, autoplay:true, width:300 ; var ply = new jeroenwijering.Player(cnt,src,cfg); ); ); var urlVideo = $("#videobox-image").children("div.p-videobox-thumb").children("img.videobox-thumb").attr("srcMedia"); var urlImage = $("#videobox-image").children("div.p-videobox-thumb").children("img.videobox-thumb").attr("src"); if (isFLV(urlVideo)) $("#MediaPlayerZone").hide(); $(".videobox-image").hide(); jwplayer("flvplayer").setup( flashplayer: "/_LAYOUTS/LacVietBio/UserControls/LacViet.VideoServer/player4.6.swf", file: urlVideo, image: urlImage, height: 200, width: 300 ); else
var i1 = 0;var i2 = 0; $(document).ready(function() // cách xử lý hiệu ứng khi click chuột phải nhằm edit nội dung bài viết :: BEGIN $(".allowMenu").contextMenu( menu: "myMenu" , function(action, el, pos) if (action == "postbyword") parent.location = "/Hinh lien ket trang chu/Forms/Chinhsua.aspx"; if (action == "postbyweb") parent.location = ""; if (action == "editbyweb") parent.location = ""; ); ); // cách xử trí hiệu ứng khi nhấp chuột phải để edit bài viết :: END chỉnh sửa liên kết hình ảnh