Git Product home page Git Product logo

module-videos's Introduction

Module Videos

Module được phát triển trên nền tảng NukeViet 4

Demo Online : http://nukeviet-hvt.rhcloud.com/videos/

Trình phát (Player) được sử dụng mặc định là JWPlayer phiên bản 7.

Để sử dụng module này, các bạn cần có NukeViet phiên bản 4.1 trở lên.

Khuyên dùng với NukeViet 4.1 Beta (4.1).

=> Link : https://github.com/nukeviet/nukeviet

module-videos's People

Contributors

anhyeuviolet avatar webvangvn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

module-videos's Issues

Lỗi trên giao diện mobile

Do không có phần giới thiệu video nên tiêu đề nó đẩy hết lên trên. Nên cho nó nằm dưới hình minh họa
1

Lỗi khi xem 1 video

Khi xem trang chủ chưa thấy hiện video, chỉ là 1 trang trắng chưa có nội dung nếu để hiện theo chuyên mục
Lỗi khi xem 1 video . Thông báo từ Hệ thống
Nên chú ý Nên chú ý: Undefined index: playlist_id in file /modules/videos/funcs/detail.php on line 293
Nên chú ý Nên chú ý: Undefined index: playlist_id in file /modules/videos/funcs/detail.php on line 404

Góp ý

Phần thể hiện 1 video nên viết thêm cho nó phần

  • Tác giả video ( ví dụ như tên tác giả nếu đó là 1 bài hát hay 1 video tự quay )
  • Thể hiện video ( ví dụ như tên ca sỹ thể hiện nếu nó là 1 bài hát )
  • Người upload
    (giống như block của modules photo)
    Khi lick vào tên 1 ai đó ( ví dụ nhạc sỹ hay ca sỹ ) nó liệt kê ra 1 trang có toàn bộ video của người đó.

Lỗi tìm kiếm modules videos

Chức năng tìm kiếm trên site sẽ bị lỗi toàn bộ nếu có cài thêm modules, nếu kg cài thì kg sao, hoặc bỏ file search.php trong modules thì tìm kiếm hoạt động bình thường

Lỗi Playlist trong admin

Lỗi cảnh báo: Missing argument 1 for nv_show_playlist_cat_list(), called in D:\wamp\www\utbeo1612\modules\videos\admin\playlists.php on line 127 and defined in file /modules/videos/admin.functions.php on line 565

Hiện thị số liên kết không hợp lí

Trong phần Quản lí chuyên mục video để hiện thị 3 tin thì khi xem trang chủ hiện thị 3 tin. Nhưng xem chủ đề đó nó cũng hiện thị có 3 tin (không hợp lí lắm :)) ) Còn nếu để hiện ví dụ 15 tin thì khi xem chuyên mục thì 15 tin ok, nhưng trang chủ nó cũng hiện 15 tin cho chuyên mục đó, nhìn xấu ... và nếu videos clip có nhiều chuyên mục thì nó hiện rất là nhiều tin ....

Đề xuất

Cố định chiều ngang và cao của hình khi xem trang chủ, cái to cái nhỏ mất thẩm mỹ.
1

Khi xem chủ đề theo dạng lưới
2

Khi xem 1 video, phần liên kết video mới hơn, cũ hơn nên để hình chứ để link nhìn cũng xấu
3

Link video FB/Picasa sẽ lỗi khi Cache

Các link này hết thời gian khả dụng sẽ ko play được.
Xem xét lại phương án tự Cache player hoặc loại chức năng cache ở khu vực này.

Báo Lỗi khi xem 1 video

Thông báo từ Hệ thống
Nên chú ý Nên chú ý: Undefined index: playlist_id in file /modules/videos/funcs/detail.php on line 349

Lỗi gói cập nhật

Tôi dùng bản nukeviet 4.0.29 (nâng cấp từ bản 4.0.28). Trên hệ thống đã cài module-videos. Nhưng khi tiến hành nâng cấp thì được báo: "Bạn chưa cài đặt module này lên hệ thống do đó không có công việc nào cần thực hiện, đơn giản hãy xóa gói cập nhật này để website hoạt động trở lại". Mong ad kiểm tra lại.
Cảm ơn!

[Cập nhật] Thêm cột vid_duration và youtube_api

<?php

define('NV_SYSTEM', true);

// Xac dinh thu muc goc cua site
define('NV_ROOTDIR', pathinfo(str_replace(DIRECTORY_SEPARATOR, '/', __file__), PATHINFO_DIRNAME));

require NV_ROOTDIR . '/includes/mainfile.php';

// Duyệt tất cả các ngôn ngữ
$language_query = $db->query('SELECT lang FROM ' . $db_config['prefix'] . '_setup_language WHERE setup = 1');
while (list ($lang) = $language_query->fetch(3)) 
{
    // Lấy tất cả các module và module ảo của nó
    $mquery = $db->query("SELECT title, module_data FROM " . $db_config['prefix'] . "_" . $lang . "_modules WHERE module_file = 'videos'");
    while (list ($mod, $mod_data) = $mquery->fetch(3)) 
    {
        $db->query("INSERT INTO " . NV_CONFIG_GLOBALTABLE . " (lang, module, config_name, config_value) VALUES ('" . $lang . "', '" . $mod . "', 'youtube_api', '')");
        try 
        {
            $db->query("ALTER TABLE " . $db_config['prefix'] . "_" . $lang . "_" . $mod_data . "_rows ADD `vid_duration` varchar(250) default '' AFTER `vid_type`");
        } 
        catch (PDOException $e) 
        {
            //
        }
    }
    // Lấy tất cả các module và module ảo của nó
    $uquery = $db->query("SELECT title, module_data FROM " . $db_config['prefix'] . "_" . $lang . "_modules WHERE module_file = 'videos'");
    while (list ($mod, $mod_data) = $uquery->fetch(3)) {
        $nquery = $db->query("SELECT catid FROM " . $db_config['prefix'] . "_" . $lang . "_". $mod_data . "_cat");
            while (list ($catid) = $nquery->fetch(3)) {
                try {
                    $db->query("ALTER TABLE " . $db_config['prefix'] . "_" . $lang . "_" . $mod_data . "_" . $catid . " ADD `vid_duration` varchar(250) default '' AFTER `vid_type`");
                } catch (PDOException $e) {
                //
            }
        }
    }
}

Góp ý

Là modules video nên phần tag nên cho nó hiển thị theo dạng lưới, để hiển thị theo dạng danh sách không hay lắm. Còn mang âm hưởng của modules news :)
1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.