Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
a9c9c9b6
Commit
a9c9c9b6
authored
Mar 02, 2021
by
yPhil
Browse files
player embedded, not playing anything, an uncaught error on pause
parent
5ab31e66
Changes
5
Hide whitespace changes
Inline
Side-by-side
public/images/newlogo.png
View replaced file @
5ab31e66
View file @
a9c9c9b6
647 Bytes
|
W:
|
H:
6.37 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/images/newlogo.svg
View file @
a9c9c9b6
...
...
@@ -14,7 +14,7 @@
viewBox=
"0 0 520.50081 524.34889"
id=
"svg2"
version=
"1.1"
inkscape:version=
"0.9
1 r13725
"
inkscape:version=
"0.9
2.5 (2060ec1f9f, 2020-04-08)
"
sodipodi:docname=
"newlogo.svg"
inkscape:export-filename=
"/home/px/src/petrolette/public/images/newlogo.png"
inkscape:export-xdpi=
"5.1900001"
...
...
@@ -29,15 +29,15 @@
inkscape:pageopacity=
"0.0"
inkscape:pageshadow=
"2"
inkscape:zoom=
"0.35"
inkscape:cx=
"4
.6317302
"
inkscape:cx=
"4
2.305884
"
inkscape:cy=
"270.028"
inkscape:document-units=
"px"
inkscape:current-layer=
"layer1"
showgrid=
"false"
inkscape:window-width=
"1
92
0"
inkscape:window-height=
"1
163
"
inkscape:window-width=
"1
05
0"
inkscape:window-height=
"1
034
"
inkscape:window-x=
"0"
inkscape:window-y=
"
18
"
inkscape:window-y=
"
22
"
inkscape:window-maximized=
"0"
units=
"px"
fit-margin-top=
"0"
...
...
@@ -52,7 +52,7 @@
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource=
"http://purl.org/dc/dcmitype/StillImage"
/>
<dc:title
></dc:title
>
<dc:title
/
>
</cc:Work>
</rdf:RDF>
</metadata>
...
...
@@ -62,7 +62,7 @@
id=
"layer1"
transform=
"translate(-111.79684,-278.04128)"
>
<path
style=
"fill:none;fill-rule:evenodd;stroke:#
ff4b03
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style=
"fill:none;fill-rule:evenodd;stroke:#
19b5fe
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d=
"m 133.00535,299.14183 162.85714,94.28571 0,51.42857 0,193.42857"
id=
"path4138"
inkscape:connector-curvature=
"0"
...
...
@@ -71,7 +71,7 @@
inkscape:export-ydpi=
"8.6499996"
inkscape:export-filename=
"/home/px/src/petrolette/public/images/newlogo.png"
/>
<path
style=
"fill:none;fill-rule:evenodd;stroke:#
ff4b03
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style=
"fill:none;fill-rule:evenodd;stroke:#
19b5fe
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d=
"m 372.04723,344.28468 0,51.42857 0,385.42857"
id=
"path4138-3"
inkscape:connector-curvature=
"0"
...
...
@@ -80,7 +80,7 @@
inkscape:export-ydpi=
"8.6499996"
inkscape:export-filename=
"/home/px/src/petrolette/public/images/newlogo.png"
/>
<path
style=
"fill:none;fill-rule:evenodd;stroke:#
ff4b03
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style=
"fill:none;fill-rule:evenodd;stroke:#
19b5fe
;stroke-width:41.90000153;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d=
"m 611.08914,299.14184 -162.85715,94.2857 0,51.42857 0,193.42857"
id=
"path4138-6"
inkscape:connector-curvature=
"0"
...
...
public/js/PTL.dialog.js
View file @
a9c9c9b6
...
...
@@ -544,7 +544,7 @@ PTL.dialog = {
title
:
PTL
.
tr
(
'
Add feed
'
),
class
:
"
translate
"
,
click
:
function
()
{
PTL
.
feed
.
add
(
$
(
'
.column
'
).
first
(),
feedUrl
,
'
mixed
'
,
8
,
'
on
'
,
true
,
false
);
PTL
.
feed
.
add
(
$
(
'
.column
'
).
first
(),
feedUrl
,
'
mixed
'
,
450
,
'
on
'
,
true
,
false
);
PTL
.
dialog
.
kill
(
$dialog
);
}
}
...
...
public/js/PTL.feed.js
View file @
a9c9c9b6
...
...
@@ -397,6 +397,23 @@ PTL.feed = {
}
if
(
item
.
enclosures
[
0
].
url
.
match
(
/
\.(
ogg|mp3|mp4
)
$/
))
{
var
soundPlayer
=
document
.
createElement
(
'
audio
'
);
soundPlayer
.
id
=
'
audio-player
'
;
soundPlayer
.
controls
=
'
controls
'
;
soundPlayer
.
src
=
item
.
enclosures
[
0
].
url
;
soundPlayer
.
type
=
'
audio/mpeg
'
;
if
(
item
.
enclosures
[
0
].
url
.
match
(
/
\.(
ogg
)
$/
))
{
console
.
log
(
'
ogg!: %s (%s)
'
);
soundPlayer
.
type
=
'
application/ogg
'
;
}
else
{
console
.
log
(
'
mpeg!: %s (%s)
'
);
soundPlayer
.
type
=
'
audio/mpeg
'
;
}
$itemDiv
.
append
(
soundPlayer
);
$soundLink
.
attr
(
'
href
'
,
item
.
enclosures
[
0
].
url
)
.
appendTo
(
$itemDiv
);
...
...
public/js/PTL.main.js
View file @
a9c9c9b6
...
...
@@ -79,7 +79,7 @@ var PTL = (function() {
}
PTL
.
sideMenu
(
'
close
'
);
PTL
.
feed
.
add
(
$column
,
''
,
'
mixed
'
,
8
,
'
on
'
,
true
,
false
);
PTL
.
feed
.
add
(
$column
,
''
,
'
mixed
'
,
350
,
'
on
'
,
true
,
false
);
});
$feedCodeButton
.
click
(
function
(
event
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment