|
 |
|
สอบถามเรื่อง video file บน PHP ต้องเขียน code ยังไง |
|
 |
|
|
 |
 |
|
ลองดู
http://flowplayer.org/
เพิ่มครับ
|
 |
 |
 |
 |
Date :
2013-04-26 15:05:23 |
By :
iieszz |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใช้ test.mp4 ค่ะ
แต่ก้อลองเปลี่ยนกลับ ไปกลับมาแล้วนะ ก้อยังไม่ออก
หรือว่าต้องเพิ่ม plugin หรือ script อะไรเพิ่มรึป่าวค่ะ
|
 |
 |
 |
 |
Date :
2013-04-26 15:07:09 |
By :
ปลวกคอนกรีต |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองบน Browser ตัวอื่นได้ไหม๊ครับ
|
 |
 |
 |
 |
Date :
2013-04-26 15:11:23 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
โค้ดนี้น่าจะเป็น HTML5 ผมลองกับเครื่องผมแล้ว ทำงานได้
ลองเช็คเรื่องพาทของ VDO และก็เบราเซอร์ที่รองรับโค้ดนี้นะครับ
Code (PHP)
<video width="320" height="240" controls autoplay>
<source src="test.mp4" type="video/mp4">
<object data="test.mp4" width="320" height="240">
<embed width="320" height="240" src="test.swf">
</object>
</video>
เช็ค เบราเซอร์ที่รองรับโค้ดนี้

|
ประวัติการแก้ไข 2013-04-26 15:14:38 2013-04-26 15:21:55
 |
 |
 |
 |
Date :
2013-04-26 15:13:12 |
By :
arm8957 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใช้ IE9 ค่ะ ผลก้อยัง run ไม่ได้
|
 |
 |
 |
 |
Date :
2013-04-26 15:30:00 |
By :
ปลวกคอนกรีต |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
น่าจะเป็นที่ Version ของ Web Browser น่ะครับ

|
 |
 |
 |
 |
Date :
2013-04-26 15:31:36 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แล้ว code ที่เขียนนี้ถูกต้องแล้วใช้หรือเปล่าค่ะ
|
 |
 |
 |
 |
Date :
2013-04-26 15:33:39 |
By :
ปลวกคอนกรีต |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
โค้ดถูกครับ ผมเช็คกับ Safari และ chrome รันได้ปกติ
Firefox รันไม่ได้ ไม่รองรับ
ก็อย่างที่บอก ดูเรื่องของพาท VDO และก็เบราเซอร์ และเวอร์ชั่นของเบราเซอร์ครับ
|
 |
 |
 |
 |
Date :
2013-04-26 15:38:00 |
By :
arm8957 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
OK ได้แล้วค่ะ
ขอบคุณพี่ทุกท่านที่ตอบค่ะ
คือว่า ถ้า refesh มันเหมือนจะไม่ run ก้อเลยลองปิดแล้วเปิด browser ใหม่ก้อ run ได้
|
 |
 |
 |
 |
Date :
2013-04-26 15:38:34 |
By :
ปลวกคอนกรีต |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จัดไป
|
 |
 |
 |
 |
Date :
2013-04-26 15:47:39 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|