/usr/share/tdiary/js/nicovideo.js is in tdiary-contrib 5.0.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /*
* nicovideo.js : expandable nico nico douga inline player for tDiary
*
* Copyright (C) 2012 by TADA Tadashi <t@tdtds.jp>
* You can modify and/or distribute it under GPL.
*/
function nicovideoPlayer( video_id ) {
$( "#thumbnail-" + video_id ).hide();
$( "#player-" + video_id ).show();
return false;
}
function nicovideoThumbnail( video_id ) {
$( "#player-" + video_id ).hide();
$( "#thumbnail-" + video_id ).show();
return false;
}
|