• Welcome to PHPVIBE Forums. Please log in.
avatar_Marius P.

[ Video Sharing CMS v4 ] PHPVibe 3.4 Development

Started by Marius P.,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Marius P.Topic starter

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

akladnja

  •  

MacKen

  •  


xda

  •  

jrm209

Two presale request:

- Cloud Tag Block
- Forum integration

Thanks
  •  

Marius P.Topic starter

xda you need to verify your account, this are the "guests" and announcement forums, not code ones.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

identicalmedia

@Mario HOPE 3.4 IS STILL DROPPING THIS MONTH?
  •  

Marius P.Topic starter

Hope so, the ffmpeg it's a bit of a pain.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fireslayed

  •  

Marius P.Topic starter

#110
I've just answered that up...
It will have a slight delay because we didn't initially planned any ffmeg support.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

boxboy

My suggestion for the design of next phpvibe


http://thezinx.com/2013/09/26/amazing-youtube-redesign-concept.html
it is Concept for YouTube Redesign but not see anything wrong to make the php vibe like this  :P :P :P
  •  

Marius P.Topic starter

I see, it's called stealing :)
I may make a theme inspired by it, but not copy it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

boxboy

I just expressed my opinion,I like it and I would like my site to look similar to the theme that I mentioned above  :)  :)  :)
I apologize if I offended anyone
  •  

Marius P.Topic starter

There was no offence, I was just explaining.
Always appreciating ideas, and the logo positioning and look of this, I like alot.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.Topic starter

Right now focusing on improving 3.4 beyond what I have planned, and add ads to player, after, there will be a variety of themes.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

MacKen

FIX mark ": on  <meta property="og:title" content="'._html($video->title).'" />';

Ex: <meta property="og:title" content="[MVHD] "Ngày tận thế" - Hoàng Châu (Mã số: 9338)" />

FIX:
Open file:lib/ functions.html.php


more later   <?php

Quotefunction Quote($Str) // Double-quoting only
    {
    $Str=str_replace('"','',$Str);
   $Str=str_replace('&quot;','',$Str); //$Str=str_replace('"','\"',$Str);
    return ''.$Str.'';
    }


Next:  Open file:lib/ tpl.globals.php

search : <meta property="og:title" content="'._html($video->title).'" />';

REPLLY:

Quote<meta property="og:title" content="'._html(Quote($video->title)).'" />';



FINISH
  •  

MacKen

EX:

http://khatvongsong.vn/detail/iewt8/cu-ba-70-tuoi-van-chua-het-kho-duoc-giup-d-xay-nha-moi.html

METAL TITLE: <title>Cụ bà 70 tuổi vẫn chưa hết khổ được giúp đỡ xây nhà mới</title>

TITLE VIDEO VIEW: Cụ bà "70 tuổi vẫn chưa hết khổ" được giúp đỡ xây nhà mới

<meta property="og:title" content="Cụ bà 70 tuổi vẫn chưa hết khổ được giúp đỡ xây nhà mới">

  •  

MacKen

FIX ERROR EDIT POST VIDEO ON ADMIN:

EX:

ON DATA: TITLE: Cụ bà "70 tuổi vẫn chưa hết khổ" được giúp đỡ xây nhà mới

EDIT  POST:  TITLE:   Cụ bà



FIX:  OPEN  FILE: mod/ edit_video.php

Quote<input type="text" name="title" class="validate[required] span12" value="<?php echo $video->title; ?>" />                   


RELLY:

Quote<input type="text" name="title" class="validate[required] span12" value="<?php echo htmlspecialchars($video->title); ?>" />                   


TEST: TITLE: Cụ bà "70 tuổi vẫn chưa hết khổ" được giúp đỡ xây nhà mới

FINISH

  •  

Marius P.Topic starter

Thanks MacKen for reporting and contributing!
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Noel

If you guys need some beta testing than please count me in.
I've even got some dedicated servers (running Debian Squeeze) if needed to test it on.

Noel
--
Never execute code written on a Friday or a Monday.
  •  

Marius P.Topic starter

Thanks, but right now we having everything needed. Just bit disappointed from testing html5 players, I really want to release this with a player capable of running ads.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

MacKen

FIX TITLE ERROR >>>>  (")


EX link: http://www.youtube.com/watch?v=vEqU7JHkfu0 | title: Jason Kidd says "Hit Me" & Spills Drink on Court

POST:  link demo: http://www.videoinedit.com/video/4878/jason-kidd-says-/  >> TITLE: Jason Kidd says



FIX:

B1: edit-video.php

title:

Quote<input type="text" name="title" class="validate[required] span12" value="<?php echo $video->title; ?>" />

Replly:

Quote<input type="text" name="title" class="validate[required] span12" value="<?php echo htmlspecialchars($video->title); ?>" />


B2: open 2 file (add-video.php v com_share.php)

Next:

Quote<input type="text" id="title" name="title" class="validate[required] span12" value="'.$details['title'].'">

Replly

Quote<input type="text" id="title" name="title" class="validate[required] span12" value="'.htmlspecialchars($details['title']).'">

FINISH
  •  

MacKen

FIX LINK YOUTUE POST :

POST LINK YOUTUBE LINK:

Quote"https://www.youtube.com/watch?v=RUQNMup5Ikg&list=PL8C37CD14A2719C13"; //LOI
   "http://youtu.be/dQw4w9WgXcQ",
"http://www.youtube.com/embed/dQw4w9WgXcQ",
"http://www.youtube.com/watch?v=dQw4w9WgXcQ",
"http://www.youtube.com/?v=dQw4w9WgXcQ",
"http://www.youtube.com/v/dQw4w9WgXcQ",
"http://www.youtube.com/e/dQw4w9WgXcQ",
"http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ",
"http://www.youtube.com/sandalsResorts#p/c/54B8C800269D7C1B/0/dQw4w9WgXcQ",
"http://www.youtube.com/watch?feature=player_embedded&v=dQw4w9WgXcQ",
"http://www.youtube.com/?feature=player_embedded&v=dQw4w9WgXcQ",
        "http://youtu.be/NLqAF9hrVbY",
        "http://www.youtube.com/embed/NLqAF9hrVbY",
        "https://www.youtube.com/embed/NLqAF9hrVbY",
        "http://www.youtube.com/v/NLqAF9hrVbY?fs=1&hl=en_US", //loi
        "http://www.youtube.com/watch?v=NLqAF9hrVbY",
        "http://www.youtube.com/user/Scobleizer#p/u/1/1p3vcRhsYGo",
        "http://www.youtube.com/ytscreeningroom?v=NRHVzbJVx8I",
        "http://www.youtube.com/sandalsResorts#p/c/54B8C800269D7C1B/2/PPS-8DMrAn4",
        "http://gdata.youtube.com/feeds/api/videos/NLqAF9hrVbY",
        "http://www.youtube.com/watch?v=spDj54kf-vY&feature=g-vrec", //loi
        "http://www.youtube.com/watch?v=GUEZCxBcM78&feature=pyv&feature=pyv&ad=10059374899&kw=%2Bwingsuit" //LOI

Open file class.providers.php


MORE
Quotefunction linkifyYouTubeURLs($text) {
    $text = preg_replace('~
        # Match non-linked youtube URL in the wild. (Rev:20130823)
        https?://         # Required scheme. Either http or https.
        (?:[0-9A-Z-]+\.)? # Optional subdomain.
        (?:               # Group host alternatives.
          youtu\.be/      # Either youtu.be,
        | youtube         # or youtube.com or
          (?:-nocookie)?  # youtube-nocookie.com
          \.com           # followed by
          \S*             # Allow anything up to VIDEO_ID,
          [^\w\-\s]       # but char before ID is non-ID char.
        )                 # End host alternatives.
        ([\w\-]{11})      # $1: VIDEO_ID is exactly 11 chars.
        (?=[^\w\-]|$)     # Assert next char is non-ID or EOS.
        (?!               # Assert URL is not pre-linked.
          [?=&+%\w.-]*    # Allow URL (query) remainder.
          (?:             # Group pre-linked alternatives.
            [\'"][^<>]*>  # Either inside a start tag,
          | </a>          # or inside <a> element text contents.
          )               # End recognized pre-linked alts.
        )                 # End negative lookahead assertion.
        [?=&+%\w.-]*        # Consume any URL (query) remainder.
        ~ix',
      '$1',
        $text);
    return $text;
}

Search : function get_data()

Quotecase 'youtube':

disable:
Quote//$vid                        = preg_replace('/^.*(\?|\&)v\=/', '', $this->link);
                  //$vid                        = preg_replace('/[^\w\-\_].*$/', '', $vid);

Replly :

Quote$vid=linkifyYouTubeURLs(''.$this->link.'');

NO SUPPORT LINK YOUTU.BE  and 3 link >>. //loi
Want to run youtu >>> MORE case "youtu";
  •  

MacKen

Quote(/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[?=&+%\w-]*/ig);

SUPPORT ALL  >> MORE >> BUSY
  •  

Similar topics (7)